]> git.sesse.net Git - ffmpeg/commit
mpeg4videoenc: Don't crash with -fsanitize=bounds
authorVitaly Buka <vitalybuka-at-google.com@ffmpeg.org>
Wed, 22 Apr 2020 04:34:19 +0000 (21:34 -0700)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 22 Apr 2020 21:21:10 +0000 (23:21 +0200)
commitf163d30de2090a7275f1fb8ad69258576f12c1a2
tree7b8d581032d24b507943918363fcfb1ded893c93
parent6bd4a261689b2f464fba5d94f9c185c333ac947a
mpeg4videoenc: Don't crash with -fsanitize=bounds

Also the patch makes this code consistent with mpeg4videodec.c

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mpeg4videoenc.c