diff options
author | Mans Rullgard <mans@mansr.com> | 2011-06-03 15:52:29 +0400 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-06-03 15:59:05 +0400 |
commit | 5e1166b31be45b37cbbd14eecfa1b260190ac651 (patch) | |
tree | 76a1a00533c14841937bb52bbdbde9f78c2a0c9d /libavcodec | |
parent | 94bed8e582eed1268ddc0d2b88cad21d8c638774 (diff) |
Mark some variables with av_unused
Most of these variables are only used in av_dlog statements, some
are required but not used by other macros.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/flacenc.c | 2 | ||||
-rw-r--r-- | libavcodec/wmaprodec.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/flacenc.c b/libavcodec/flacenc.c index 8624a6d987..be775cabd3 100644 --- a/libavcodec/flacenc.c +++ b/libavcodec/flacenc.c @@ -980,7 +980,7 @@ static int encode_residual_ch(FlacEncodeContext *s, int ch) static int count_frame_header(FlacEncodeContext *s) { - uint8_t tmp; + uint8_t av_unused tmp; int count; /* diff --git a/libavcodec/wmaprodec.c b/libavcodec/wmaprodec.c index ab2cd5c596..4ba8c455ab 100644 --- a/libavcodec/wmaprodec.c +++ b/libavcodec/wmaprodec.c @@ -1320,7 +1320,7 @@ static int decode_frame(WMAProDecodeCtx *s) /** no idea what these are for, might be the number of samples that need to be skipped at the beginning or end of a stream */ if (get_bits1(gb)) { - int skip; + int av_unused skip; /** usually true for the first frame */ if (get_bits1(gb)) { |