aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-05-31 22:01:13 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-05-31 22:13:51 +0200
commitd0388bd32e1c84a9ef87ba6c448c7fffb6a9f259 (patch)
treed13ee5a7fdfac196b9b4357aef9d9423fab82d66 /libavcodec
parente5babccfbcd83559247d28e215440a0e74060425 (diff)
downloadffmpeg-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.c2
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)