mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 03:59:43 +00:00
avcodec/jpeg2000dec: Fix h/vden typo
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
6029b8a6bb
commit
5d0b69f3b7
@ -2075,7 +2075,7 @@ static int jp2_find_codestream(Jpeg2000DecoderContext *s)
|
||||
hden = bytestream2_get_be16u(&s->g);
|
||||
vexp = bytestream2_get_byteu(&s->g);
|
||||
hexp = bytestream2_get_byteu(&s->g);
|
||||
if (!vnum || !vden || !hnum || !vden) {
|
||||
if (!vnum || !vden || !hnum || !hden) {
|
||||
bytestream2_seek(&s->g, atom2_end, SEEK_SET);
|
||||
av_log(s->avctx, AV_LOG_WARNING, "RES box invalid\n");
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user