[FFmpeg-cvslog] avcodec/dpx_parser: fix off by 1 error
Michael Niedermayer
git at videolan.org
Sun Jun 1 20:23:47 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Jun 1 20:11:30 2014 +0200| [c4d88311cd90cfe5ec676413963140fa9ef41f41] | committer: Michael Niedermayer
avcodec/dpx_parser: fix off by 1 error
Found-by: carl
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c4d88311cd90cfe5ec676413963140fa9ef41f41
---
libavcodec/dpx_parser.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/dpx_parser.c b/libavcodec/dpx_parser.c
index db6ebf7..dd2a335 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;
}
}
More information about the ffmpeg-cvslog
mailing list