avcodec/dpx_parser: fix off by 1 error

Found-by: carl
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/74/head
Michael Niedermayer 11 years ago
parent d41a4a765b
commit c4d88311cd
  1. 2
      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;
}
}

Loading…
Cancel
Save