1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-04-14 00:58:38 +02:00

avcodec/bmp_parser: Fix state

Fixes Ticket5598

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

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2016-05-31 22:01:13 +02:00
parent 669fc1338f
commit 2bbbd3e50a

View File

@ -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)