[FFmpeg-cvslog] avcodec/libdcadec: exss is used only under ifdef, thus mark it as potentially unused

Michael Niedermayer git at videolan.org
Tue Jul 28 13:57:10 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Tue Jul 28 13:35:47 2015 +0200| [07558ad5824afb524d12f889998f2230318c59ea] | committer: Michael Niedermayer

avcodec/libdcadec: exss is used only under ifdef, thus mark it as potentially unused

avoids a compiler warning

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

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

diff --git a/libavcodec/libdcadec.c b/libavcodec/libdcadec.c
index 9422e88..a0e34f9 100644
--- a/libavcodec/libdcadec.c
+++ b/libavcodec/libdcadec.c
@@ -42,7 +42,7 @@ static int dcadec_decode_frame(AVCodecContext *avctx, void *data,
 {
     DCADecContext *s = avctx->priv_data;
     AVFrame *frame = data;
-    struct dcadec_exss_info *exss;
+    av_unused struct dcadec_exss_info *exss;
     int ret, i, k;
     int **samples, nsamples, channel_mask, sample_rate, bits_per_sample, profile;
     uint32_t mrk;



More information about the ffmpeg-cvslog mailing list