[FFmpeg-cvslog] pcm: Drop av_unused attribute from variable that is always used

Diego Biurrun git at videolan.org
Tue Aug 19 19:54:36 CEST 2014


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Fri Aug 15 22:13:11 2014 +0200| [6af2930222ee5d8ce19f3b999a78d85a3c457391] | committer: Diego Biurrun

pcm: Drop av_unused attribute from variable that is always used

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

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

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];                          \



More information about the ffmpeg-cvslog mailing list