On Mon, 13 Feb 2012, Diego Biurrun wrote:

---
libavcodec/4xm.c         |    2 +-
libavfilter/vf_gradfun.c |    2 +-
libavfilter/vf_yadif.c   |    2 +-
libavformat/nsvdec.c     |    2 +-
libswscale/output.c      |    6 ++----
5 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c
index 8d7db98..b98237d 100644
--- 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.

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

Reply via email to