aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/jpeg2000dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2017-07-26 20:22:49 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2017-07-27 00:01:27 +0200
commit5d0b69f3b7e5b28804c84e50c593606b597f5956 (patch)
treed3b5276e862f71d423f73541e9e406a06cb39298 /libavcodec/jpeg2000dec.c
parent6029b8a6bbc8bbf7799108582e71078ec0bde1cf (diff)
downloadffmpeg-5d0b69f3b7e5b28804c84e50c593606b597f5956.tar.gz
avcodec/jpeg2000dec: Fix h/vden typo
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/jpeg2000dec.c')
-rw-r--r--libavcodec/jpeg2000dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c
index dd9c60feb4..9a5e64e854 100644
--- a/libavcodec/jpeg2000dec.c
+++ b/libavcodec/jpeg2000dec.c
@@ -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;