[SCM] libav/master: pcm: Drop av_unused attribute from variable that is always used

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Wed Sep 17 01:18:08 UTC 2014


The following commit has been merged in the master branch:
commit 6af2930222ee5d8ce19f3b999a78d85a3c457391
Author: Diego Biurrun <diego at biurrun.de>
Date:   Fri Aug 15 22:13:11 2014 +0200

    pcm: Drop av_unused attribute from variable that is always used

diff --git a/libavcodec/pcm.c b/libavcodec/pcm.c
index 2985156..e06712e 100644
--- a/libavcodec/pcm.c
+++ b/libavcodec/pcm.c
@@ -253,7 +253,7 @@ static av_cold int pcm_decode_init(AVCodecContext *avctx)
 #if HAVE_BIGENDIAN
 #define DECODE_PLANAR(size, endian, src, dst, n, shift, offset)         \
     {                                                                   \
-        int av_unused n2;                                               \
+        int n2;                                                         \
         n /= avctx->channels;                                           \
         for (c = 0; c < avctx->channels; c++) {                         \
             samples = frame->extended_data[c];                          \

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list