[FFmpeg-cvslog] avformat/genh: Mark coef_splitted as av_unused
Michael Niedermayer
git at videolan.org
Sun Feb 14 21:33:41 CET 2016
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sun Oct 18 20:31:27 2015 +0200| [dcb6d5b831b32ade33d578ba593b1f65cb77191d] | committer: Michael Niedermayer
avformat/genh: Mark coef_splitted as av_unused
This avoid "libavformat/genh.c:43:14: warning: variable coef_splitted set but not used"
Fewer warnings makes it easier to see new and important warnings
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dcb6d5b831b32ade33d578ba593b1f65cb77191d
---
libavformat/genh.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/genh.c b/libavformat/genh.c
index d8723d5..cb1a02f 100644
--- a/libavformat/genh.c
+++ b/libavformat/genh.c
@@ -42,7 +42,7 @@ static int genh_read_header(AVFormatContext *s)
{
unsigned start_offset, header_size, codec, coef_type, coef[2];
GENHDemuxContext *c = s->priv_data;
- unsigned coef_splitted[2];
+ av_unused unsigned coef_splitted[2];
int align, ch, ret;
AVStream *st;
More information about the ffmpeg-cvslog
mailing list