Commit 21439483 authored by Diego Biurrun's avatar Diego Biurrun

Drop unnecessary av_unused attributes.

parent 213e6067
...@@ -1604,7 +1604,7 @@ decode_cabac_residual_internal(H264Context *h, int16_t *block, ...@@ -1604,7 +1604,7 @@ decode_cabac_residual_internal(H264Context *h, int16_t *block,
int index[64]; int index[64];
int av_unused last; int last;
int coeff_count = 0; int coeff_count = 0;
int node_ctx = 0; int node_ctx = 0;
......
...@@ -378,7 +378,7 @@ static void FUNC(OPNAME ## h264_qpel16_hv_lowpass)(uint8_t *dst, int16_t *tmp, 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) \ #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);\ FUNCC(OPNAME ## pixels ## SIZE)(dst, src, stride, SIZE);\
}\ }\
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#include "rv34dsp.h" #include "rv34dsp.h"
#define RV30_LOWPASS(OPNAME, OP) \ #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 int h = 8;\
const uint8_t *cm = ff_crop_tab + MAX_NEG_CROP;\ const uint8_t *cm = ff_crop_tab + MAX_NEG_CROP;\
int i;\ int i;\
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
#include "rv34dsp.h" #include "rv34dsp.h"
#define RV40_LOWPASS(OPNAME, OP) \ #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 int h, const int C1, const int C2, const int SHIFT){\
const uint8_t *cm = ff_crop_tab + MAX_NEG_CROP;\ const uint8_t *cm = ff_crop_tab + MAX_NEG_CROP;\
int i;\ int i;\
......
...@@ -299,7 +299,7 @@ static av_always_inline int vp8_rac_get(VP56RangeCoder *c) ...@@ -299,7 +299,7 @@ static av_always_inline int vp8_rac_get(VP56RangeCoder *c)
return vp56_rac_get_prob(c, 128); 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; int value = 0;
...@@ -310,7 +310,7 @@ static av_unused int vp56_rac_gets(VP56RangeCoder *c, int bits) ...@@ -310,7 +310,7 @@ static av_unused int vp56_rac_gets(VP56RangeCoder *c, int bits)
return value; 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; int value = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment