diff --git a/libavcodec/dpx_parser.c b/libavcodec/dpx_parser.c index db6ebf7ddf..dd2a335c67 100644 --- a/libavcodec/dpx_parser.c +++ b/libavcodec/dpx_parser.c @@ -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; } }