avcodec/mpeg4videodec: Clear bits_per_raw_sample if it has originated from a previous...
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 9 Jun 2018 20:25:38 +0000 (22:25 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 13 Jun 2018 19:55:19 +0000 (21:55 +0200)
commit2fc108f60f98cd00813418a8754a46476b404a3c
tree85ab0ba0b1d7b6fb30e6c81e5f0fd3d75cc8cfb5
parent30af29a712b820e8e28c4963fab0160128c23d3d
avcodec/mpeg4videodec: Clear bits_per_raw_sample if it has originated from a previous instance

Fixes: assertion failure
Fixes: ffmpeg_crash_5.avi

Found-by: Thuan Pham <thuanpv@comp.nus.edu.sg>, Marcel Böhme, Andrew Santosa and Alexandru Razvan Caciulescu with AFLSmart
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mpeg4videodec.c