pcm: Drop unused variable from DECODE_PLANAR macro
authorDiego Biurrun <diego@biurrun.de>
Fri, 15 Aug 2014 20:13:10 +0000 (22:13 +0200)
committerDiego Biurrun <diego@biurrun.de>
Tue, 19 Aug 2014 13:22:07 +0000 (06:22 -0700)
libavcodec/pcm.c

index 9fadcb7..2985156 100644 (file)
@@ -264,7 +264,6 @@ static av_cold int pcm_decode_init(AVCodecContext *avctx)
 #else
 #define DECODE_PLANAR(size, endian, src, dst, n, shift, offset)         \
     {                                                                   \
 #else
 #define DECODE_PLANAR(size, endian, src, dst, n, shift, offset)         \
     {                                                                   \
-        int av_unused n2;                                               \
         n /= avctx->channels;                                           \
         for (c = 0; c < avctx->channels; c++) {                         \
             samples = frame->extended_data[c];                          \
         n /= avctx->channels;                                           \
         for (c = 0; c < avctx->channels; c++) {                         \
             samples = frame->extended_data[c];                          \