avcodec/mpegvideo_enc: Reset stuffing bits if they are not supported
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 30 May 2021 16:51:09 +0000 (18:51 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 18 Jun 2021 18:53:56 +0000 (20:53 +0200)
commit78b71acab71842317b462786aa26767de9f777f3
treeed75b94bdcb4448204ad4f2c4105e923fda25e33
parent478c5d838b456508a3b470d9a8aa1b799c71a445
avcodec/mpegvideo_enc: Reset stuffing bits if they are not supported

Fixes: Assertion failure
Fixes: Ticket8202

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 996797f8ed06e6ccb5287e18a5de88b2b0db31ec)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mpegvideo_enc.c