On Thu, Aug 20, 2015 at 7:28 PM, Ganesh Ajjanagadde <gajjanaga...@gmail.com> wrote: > Fixes -Wunused-const-variable from > http://fate.ffmpeg.org/report.cgi?time=20150820031140&slot=arm64-darwin-clang-apple-5.1 > > Signed-off-by: Ganesh Ajjanagadde <gajjanaga...@gmail.com> > --- > libavcodec/jpeg2000.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/jpeg2000.c b/libavcodec/jpeg2000.c > index 8765017..09654e8 100644 > --- a/libavcodec/jpeg2000.c > +++ b/libavcodec/jpeg2000.c > @@ -189,7 +189,7 @@ void ff_jpeg2000_set_significance(Jpeg2000T1Context *t1, > int x, int y, > t1->flags[(y - 1) * t1->stride + x - 1] |= JPEG2000_T1_SIG_SE; > } > > -static const uint8_t lut_gain[2][4] = { { 0, 0, 0, 0 }, { 0, 1, 1, 2 } }; > +// static const uint8_t lut_gain[2][4] = { { 0, 0, 0, 0 }, { 0, 1, 1, 2 } }; > (unused) > > int ff_jpeg2000_init_component(Jpeg2000Component *comp, > Jpeg2000CodingStyle *codsty, > -- > 2.5.0 >
This patch series takes care of all unused warnings from http://fate.ffmpeg.org/report.cgi?time=20150820031140&slot=arm64-darwin-clang-apple-5.1 except for the ones in libswscale/swscale.c I left these because I know it is being actively worked on by Pedro for his GSoC. @Pedro: you might want to look at this. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel