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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue