diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-05-31 22:01:13 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-05-31 22:13:51 +0200 |
commit | d0388bd32e1c84a9ef87ba6c448c7fffb6a9f259 (patch) | |
tree | d13ee5a7fdfac196b9b4357aef9d9423fab82d66 /libavcodec | |
parent | e5babccfbcd83559247d28e215440a0e74060425 (diff) | |
download | ffmpeg-d0388bd32e1c84a9ef87ba6c448c7fffb6a9f259.tar.gz |
avcodec/bmp_parser: Fix state
Fixes Ticket5598
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/bmp_parser.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/bmp_parser.c b/libavcodec/bmp_parser.c index 7ab32a0b00..b06e3e84ef 100644 --- a/libavcodec/bmp_parser.c +++ b/libavcodec/bmp_parser.c @@ -67,6 +67,8 @@ restart: if (bpc->pc.index + i > 17) { next = i - 17; + state = 0; + break; } else goto restart; } else if (bpc->pc.frame_start_found) |