[FFmpeg-cvslog] avcodec/bmp_parser: Fix state
Michael Niedermayer
git at videolan.org
Tue May 31 22:32:25 CEST 2016
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Tue May 31 22:01:13 2016 +0200| [d0388bd32e1c84a9ef87ba6c448c7fffb6a9f259] | committer: Michael Niedermayer
avcodec/bmp_parser: Fix state
Fixes Ticket5598
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d0388bd32e1c84a9ef87ba6c448c7fffb6a9f259
---
libavcodec/bmp_parser.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/bmp_parser.c b/libavcodec/bmp_parser.c
index 7ab32a0..b06e3e8 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)
More information about the ffmpeg-cvslog
mailing list