Commit c4d88311 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/dpx_parser: fix off by 1 error

Found-by: carl
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent d41a4a76
......@@ -89,7 +89,7 @@ static int dpx_parse(AVCodecParserContext *s, AVCodecContext *avctx,
} else if (d->index > 17) {
if (d->pc.state == MKBETAG('S','D','P','X') ||
d->pc.state == MKTAG('S','D','P','X')) {
next = i - 4;
next = i - 3;
break;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment