You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
vc1dec: fix used ER flags in vc1_decode_b_blocks()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -4817,7 +4817,7 @@ static void vc1_decode_b_blocks(VC1Context *v)
|
|||||||
vc1_decode_b_mb(v);
|
vc1_decode_b_mb(v);
|
||||||
if (get_bits_count(&s->gb) > v->bits || get_bits_count(&s->gb) < 0) {
|
if (get_bits_count(&s->gb) > v->bits || get_bits_count(&s->gb) < 0) {
|
||||||
// TODO: may need modification to handle slice coding
|
// TODO: may need modification to handle slice coding
|
||||||
ff_er_add_slice(s, 0, s->start_mb_y, s->mb_x, s->mb_y, (AC_END|DC_END|MV_END));
|
ff_er_add_slice(s, 0, s->start_mb_y, s->mb_x, s->mb_y, (AC_ERROR|DC_ERROR|MV_ERROR));
|
||||||
av_log(s->avctx, AV_LOG_ERROR, "Bits overconsumption: %i > %i at %ix%i\n",
|
av_log(s->avctx, AV_LOG_ERROR, "Bits overconsumption: %i > %i at %ix%i\n",
|
||||||
get_bits_count(&s->gb), v->bits, s->mb_x, s->mb_y);
|
get_bits_count(&s->gb), v->bits, s->mb_x, s->mb_y);
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user