avcodec/bmp_parser: Fix state

Fixes Ticket5598

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2016-05-31 22:01:13 +02:00
parent e5babccfbc
commit d0388bd32e
1 changed files with 2 additions and 0 deletions

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)