[FFmpeg-cvslog] jpeg2000dec: silence unused variable warning

Michael Niedermayer git at videolan.org
Fri Jul 19 18:49:52 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Jul 19 17:54:57 2013 +0200| [db33010483a024f1343bfb516415fe9ef77e82d9] | committer: Michael Niedermayer

jpeg2000dec: silence unused variable warning

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=db33010483a024f1343bfb516415fe9ef77e82d9
---

 libavcodec/jpeg2000dec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c
index 6959a36..f94d9a3 100644
--- a/libavcodec/jpeg2000dec.c
+++ b/libavcodec/jpeg2000dec.c
@@ -1557,7 +1557,7 @@ static int jp2_find_codestream(Jpeg2000DecoderContext *s)
                     atom2_size -= 2;
                     for (; n>0; n--) {
                         int cn   = bytestream2_get_be16(&s->g);
-                        int typ  = bytestream2_get_be16(&s->g);
+                        int av_unused typ  = bytestream2_get_be16(&s->g);
                         int asoc = bytestream2_get_be16(&s->g);
                         if (cn < 4 || asoc < 4)
                             s->cdef[cn] = asoc;



More information about the ffmpeg-cvslog mailing list