Revision e36d79c8

View differences:

libavcodec/4xm.c
555 555
    uint16_t *dst= (uint16_t*)f->current_picture.data[0];
556 556
    const int stride= f->current_picture.linesize[0]>>1;
557 557
    const unsigned int bitstream_size= get32(buf);
558
    const int token_count __attribute__((unused)) = get32(buf + bitstream_size + 8);
558
    const int token_count attribute_unused = get32(buf + bitstream_size + 8);
559 559
    unsigned int prestream_size= 4*get32(buf + bitstream_size + 4);
560 560
    uint8_t *prestream= buf + bitstream_size + 12;
561 561

  
libavcodec/dvdata.h
2534 2534
  {  31,  67, 103,  21,  57,  93,  11,  47,  83},
2535 2535
};
2536 2536

  
2537
static const __attribute__((unused)) int dv_audio_frequency[3] = {
2537
static const attribute_unused int dv_audio_frequency[3] = {
2538 2538
    48000, 44100, 32000,
2539 2539
};
2540 2540

  
libavcodec/h264.c
1800 1800
    const int lt= src[-1-1*stride];
1801 1801
    LOAD_TOP_EDGE
1802 1802
    LOAD_LEFT_EDGE
1803
    const __attribute__((unused)) int unu= l3;
1803
    const attribute_unused int unu= l3;
1804 1804

  
1805 1805
    src[0+0*stride]=
1806 1806
    src[1+2*stride]=(lt + t0 + 1)>>1;
......
1823 1823
static void pred4x4_vertical_left_c(uint8_t *src, uint8_t *topright, int stride){
1824 1824
    LOAD_TOP_EDGE
1825 1825
    LOAD_TOP_RIGHT_EDGE
1826
    const __attribute__((unused)) int unu= t7;
1826
    const attribute_unused int unu= t7;
1827 1827

  
1828 1828
    src[0+0*stride]=(t0 + t1 + 1)>>1;
1829 1829
    src[1+0*stride]=
......
1868 1868
    const int lt= src[-1-1*stride];
1869 1869
    LOAD_TOP_EDGE
1870 1870
    LOAD_LEFT_EDGE
1871
    const __attribute__((unused)) int unu= t3;
1871
    const attribute_unused int unu= t3;
1872 1872

  
1873 1873
    src[0+0*stride]=
1874 1874
    src[2+1*stride]=(lt + l0 + 1)>>1;
......
5655 5655
    return ctx + 4 * cat;
5656 5656
}
5657 5657

  
5658
static const __attribute((used)) uint8_t last_coeff_flag_offset_8x8[63] = {
5658
static const attribute_used uint8_t last_coeff_flag_offset_8x8[63] = {
5659 5659
    0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
5660 5660
    2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
5661 5661
    3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4,
libavcodec/i386/dsputil_mmx_rnd.h
380 380
    } while (--h);
381 381
}
382 382

  
383
static __attribute__((unused)) void DEF(avg, pixels8_l2)(uint8_t *dst, uint8_t *src1, uint8_t *src2, int dstStride, int src1Stride, int h)
383
static attribute_unused void DEF(avg, pixels8_l2)(uint8_t *dst, uint8_t *src1, uint8_t *src2, int dstStride, int src1Stride, int h)
384 384
{
385 385
    MOVQ_BFE(mm6);
386 386
    JUMPALIGN();
......
427 427
    } while (--h);
428 428
}
429 429

  
430
static __attribute__((unused)) void DEF(avg, pixels16_l2)(uint8_t *dst, uint8_t *src1, uint8_t *src2, int dstStride, int src1Stride, int h)
430
static attribute_unused void DEF(avg, pixels16_l2)(uint8_t *dst, uint8_t *src1, uint8_t *src2, int dstStride, int src1Stride, int h)
431 431
{
432 432
    MOVQ_BFE(mm6);
433 433
    JUMPALIGN();
libavcodec/svq3.c
183 183
static void pred4x4_down_left_svq3_c(uint8_t *src, uint8_t *topright, int stride){
184 184
    LOAD_TOP_EDGE
185 185
    LOAD_LEFT_EDGE
186
    const __attribute__((unused)) int unu0= t0;
187
    const __attribute__((unused)) int unu1= l0;
186
    const attribute_unused int unu0= t0;
187
    const attribute_unused int unu1= l0;
188 188

  
189 189
    src[0+0*stride]=(l1 + t1)>>1;
190 190
    src[1+0*stride]=

Also available in: Unified diff