diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-06-01 20:11:30 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-06-01 20:14:49 +0200 |
commit | c4d88311cd90cfe5ec676413963140fa9ef41f41 (patch) | |
tree | 48013971c75851e9bb3ea2ae7112090eb3c84aa4 | |
parent | d41a4a765b702f89d1f757d9c96e25be8fa77016 (diff) | |
download | ffmpeg-c4d88311cd90cfe5ec676413963140fa9ef41f41.tar.gz |
avcodec/dpx_parser: fix off by 1 error
Found-by: carl
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/dpx_parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |