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:
parent
d41a4a765b
commit
c4d88311cd
@ -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…
x
Reference in New Issue
Block a user