Advertisement
Guest User

Untitled

a guest
Jan 18th, 2012
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. /* make sure we are not seeking in corrupted stream */
  2. if (this_frame_sample < lower_bound_sample) {
  3. decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR;
  4. return false;
  5. }
  6.  
  7. ends up with a weird value for this_frame_sample from somewhere..
  8.  
  9. /* make sure we are not seeking in corrupted stream */
  10. if (this_frame_sample < lower_bound_sample) {
  11. decoder->protected_->state = FLAC__STREAM_DECODER_SEEK_ERROR;
  12. this_frame_sample = upper_bound_sample;
  13. }
  14.  
  15. allows the CHD to still decode fine
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement