On Mon, Feb 13, 2012 at 11:24:14AM +0200, Martin Storsjö wrote:
> On Mon, 13 Feb 2012, Diego Biurrun wrote:
> 
> >--- a/libavcodec/4xm.c
> >+++ b/libavcodec/4xm.c
> >@@ -696,7 +696,7 @@ static int decode_i_frame(FourXContext *f, const uint8_t 
> >*buf, int length)
> >    const int width  = f->avctx->width;
> >    const int height = f->avctx->height;
> >    const unsigned int bitstream_size = AV_RL32(buf);
> >-    int token_count av_unused;
> >+    int token_count;
> >    unsigned int prestream_size;
> >    const uint8_t *prestream;
> 
> This is a write-only variable, I think there might be some compilers
> (clang?) that warn about these unless marked as intentionally
> unused.

Pushed the whole set with that change split out.

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to