[FFmpeg-cvslog] avcodec/jpeg2000dec: Fix h/vden typo
Michael Niedermayer
git at videolan.org
Thu Jul 27 01:01:53 EEST 2017
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Wed Jul 26 20:22:49 2017 +0200| [5d0b69f3b7e5b28804c84e50c593606b597f5956] | committer: Michael Niedermayer
avcodec/jpeg2000dec: Fix h/vden typo
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5d0b69f3b7e5b28804c84e50c593606b597f5956
---
libavcodec/jpeg2000dec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
More information about the ffmpeg-cvslog
mailing list