[FFmpeg-cvslog] lavc/jpeg2000dec: silent warning discards qualifiers

Lukasz Marek git at videolan.org
Sat Feb 8 03:14:57 CET 2014


ffmpeg | branch: master | Lukasz Marek <lukasz.m.luki at gmail.com> | Fri Feb  7 16:25:33 2014 +0100| [aeb2905fb7cebf457b53323195855871383e53bb] | committer: Michael Niedermayer

lavc/jpeg2000dec: silent warning discards qualifiers

Signed-off-by: Lukasz Marek <lukasz.m.luki at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

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

diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c
index 41d8b79..845feb6 100644
--- a/libavcodec/jpeg2000dec.c
+++ b/libavcodec/jpeg2000dec.c
@@ -1213,7 +1213,7 @@ static void mct_decode(Jpeg2000DecoderContext *s, Jpeg2000Tile *tile)
 static int jpeg2000_decode_tile(Jpeg2000DecoderContext *s, Jpeg2000Tile *tile,
                                 AVFrame *picture)
 {
-    AVPixFmtDescriptor *pixdesc = av_pix_fmt_desc_get(s->avctx->pix_fmt);
+    const AVPixFmtDescriptor *pixdesc = av_pix_fmt_desc_get(s->avctx->pix_fmt);
     int compno, reslevelno, bandno;
     int x, y;
     int planar    = !!(pixdesc->flags & AV_PIX_FMT_FLAG_PLANAR);



More information about the ffmpeg-cvslog mailing list