You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/mpegvideo_enc: Reset stuffing bits if they are not supported
Fixes: Assertion failure Fixes: Ticket8202 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -1846,6 +1846,7 @@ vbv_retry:
|
||||
break;
|
||||
default:
|
||||
av_log(avctx, AV_LOG_ERROR, "vbv buffer overflow\n");
|
||||
s->stuffing_bits = 0;
|
||||
}
|
||||
flush_put_bits(&s->pb);
|
||||
s->frame_bits = put_bits_count(&s->pb);
|
||||
|
Reference in New Issue
Block a user