Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -985,7 +985,7 @@ static int huffman_decode(MPADecodeContext *s, GranuleDef *g, · 984 unmodified lines | ||
| 985 | 985 | /* skip extension bits */ |
| 986 | 986 | bits_left = end_pos2 - get_bits_count(&s->gb); |
| 987 | 987 | //av_log(NULL, AV_LOG_ERROR, "left:%d buf:%p\n", bits_left, s->in_gb.buffer); |
| 988 | − if (bits_left < 0 && (s->err_recognition & AV_EF_BITSTREAM)) { | |
| 988 | + if (bits_left < 0 && (s->err_recognition & AV_EF_BUFFER)) { | |
| 989 | 989 | av_log(s->avctx, AV_LOG_ERROR, "bits_left=%d\n", bits_left); |
| 990 | 990 | s_index=0; |
| 991 | 991 | } else if (bits_left > 0 && (s->err_recognition & AV_EF_BUFFER)) { |