aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-09-02 23:25:07 +0200
committerDiego Biurrun <diego@biurrun.de>2014-09-05 13:55:04 +0200
commit2143948381c8118bdc2f50bd4079520b9885bd54 (patch)
tree94091b8539434e98cb8b96b07221b15bb535b5bb
parent213e606752d16f51337e94431962fb5d7749c07e (diff)
downloadffmpeg-2143948381c8118bdc2f50bd4079520b9885bd54.tar.gz
Drop unnecessary av_unused attributes.
-rw-r--r--libavcodec/h264_cabac.c2
-rw-r--r--libavcodec/h264qpel_template.c2
-rw-r--r--libavcodec/rv30dsp.c2
-rw-r--r--libavcodec/rv40dsp.c2
-rw-r--r--libavcodec/vp56.h4
5 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/h264_cabac.c b/libavcodec/h264_cabac.c
index f1ab97a144..a55a8f3985 100644
--- a/libavcodec/h264_cabac.c
+++ b/libavcodec/h264_cabac.c
@@ -1604,7 +1604,7 @@ decode_cabac_residual_internal(H264Context *h, int16_t *block,
int index[64];
- int av_unused last;
+ int last;
int coeff_count = 0;
int node_ctx = 0;
diff --git a/libavcodec/h264qpel_template.c b/libavcodec/h264qpel_template.c
index 7dd901ce24..e846ac9e91 100644
--- a/libavcodec/h264qpel_template.c
+++ b/libavcodec/h264qpel_template.c
@@ -378,7 +378,7 @@ static void FUNC(OPNAME ## h264_qpel16_hv_lowpass)(uint8_t *dst, int16_t *tmp, c
}\
#define H264_MC(OPNAME, SIZE) \
-static av_unused void FUNCC(OPNAME ## h264_qpel ## SIZE ## _mc00)(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)\
+static void FUNCC(OPNAME ## h264_qpel ## SIZE ## _mc00)(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)\
{\
FUNCC(OPNAME ## pixels ## SIZE)(dst, src, stride, SIZE);\
}\
diff --git a/libavcodec/rv30dsp.c b/libavcodec/rv30dsp.c
index 36187a7916..50f418697b 100644
--- a/libavcodec/rv30dsp.c
+++ b/libavcodec/rv30dsp.c
@@ -31,7 +31,7 @@
#include "rv34dsp.h"
#define RV30_LOWPASS(OPNAME, OP) \
-static av_unused void OPNAME ## rv30_tpel8_h_lowpass(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, const int C1, const int C2){\
+static void OPNAME ## rv30_tpel8_h_lowpass(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, const int C1, const int C2){\
const int h = 8;\
const uint8_t *cm = ff_crop_tab + MAX_NEG_CROP;\
int i;\
diff --git a/libavcodec/rv40dsp.c b/libavcodec/rv40dsp.c
index d1643e0fca..da3efb4442 100644
--- a/libavcodec/rv40dsp.c
+++ b/libavcodec/rv40dsp.c
@@ -34,7 +34,7 @@
#include "rv34dsp.h"
#define RV40_LOWPASS(OPNAME, OP) \
-static av_unused void OPNAME ## rv40_qpel8_h_lowpass(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride,\
+static void OPNAME ## rv40_qpel8_h_lowpass(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride,\
const int h, const int C1, const int C2, const int SHIFT){\
const uint8_t *cm = ff_crop_tab + MAX_NEG_CROP;\
int i;\
diff --git a/libavcodec/vp56.h b/libavcodec/vp56.h
index a852ff87e1..f2ed770b85 100644
--- a/libavcodec/vp56.h
+++ b/libavcodec/vp56.h
@@ -299,7 +299,7 @@ static av_always_inline int vp8_rac_get(VP56RangeCoder *c)
return vp56_rac_get_prob(c, 128);
}
-static av_unused int vp56_rac_gets(VP56RangeCoder *c, int bits)
+static int vp56_rac_gets(VP56RangeCoder *c, int bits)
{
int value = 0;
@@ -310,7 +310,7 @@ static av_unused int vp56_rac_gets(VP56RangeCoder *c, int bits)
return value;
}
-static av_unused int vp8_rac_get_uint(VP56RangeCoder *c, int bits)
+static int vp8_rac_get_uint(VP56RangeCoder *c, int bits)
{
int value = 0;