avcodec/bmp_parser: Ensure remaining_size is not too small in startcode packet crossi...
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 14 Apr 2016 13:10:31 +0000 (15:10 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 29 Apr 2016 12:23:41 +0000 (14:23 +0200)
commit036d049fb1f2a23938501fc00bcc9e4d0f010b96
tree7d10ba312376dbb03a52ef6449ebf85f2dcdd917
parent6a60de92b22c160a024957c3e65f607f2e5ab3d7
avcodec/bmp_parser: Ensure remaining_size is not too small in startcode packet crossing corner case

Fixes Ticket 5438

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 8e26bdd59bf559d00c7e60c53fff292de10139ff)

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