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>
Thu, 28 Apr 2016 01:47:13 +0000 (03:47 +0200)
commit62e87d065b9bae0f9d5319a88c8af0a0c3bdd084
tree0dded2f46f406896382f3fe3dfb30a5e3a1ab53f
parent3d9f1c0dbbcba0164ec5f0bd3497c481afc43062
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