Skip to content
Snippets Groups Projects
Commit c4d88311 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

avcodec/dpx_parser: fix off by 1 error


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