1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-24 13:56:33 +02:00

avcodec/dpx_parser: fix off by 1 error

Found-by: carl
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-06-01 20:11:30 +02:00
parent d41a4a765b
commit c4d88311cd

View File

@ -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;
}
}