Revision 2c32b173

View differences:

libavcodec/h264.c
1733 1733

  
1734 1734

  
1735 1735
#define LOAD_TOP_RIGHT_EDGE\
1736
    const int t4= topright[0];\
1737
    const int t5= topright[1];\
1738
    const int t6= topright[2];\
1739
    const int t7= topright[3];\
1736
    const int attribute_unused t4= topright[0];\
1737
    const int attribute_unused t5= topright[1];\
1738
    const int attribute_unused t6= topright[2];\
1739
    const int attribute_unused t7= topright[3];\
1740 1740

  
1741 1741
#define LOAD_LEFT_EDGE\
1742
    const int l0= src[-1+0*stride];\
1743
    const int l1= src[-1+1*stride];\
1744
    const int l2= src[-1+2*stride];\
1745
    const int l3= src[-1+3*stride];\
1742
    const int attribute_unused l0= src[-1+0*stride];\
1743
    const int attribute_unused l1= src[-1+1*stride];\
1744
    const int attribute_unused l2= src[-1+2*stride];\
1745
    const int attribute_unused l3= src[-1+3*stride];\
1746 1746

  
1747 1747
#define LOAD_TOP_EDGE\
1748
    const int t0= src[ 0-1*stride];\
1749
    const int t1= src[ 1-1*stride];\
1750
    const int t2= src[ 2-1*stride];\
1751
    const int t3= src[ 3-1*stride];\
1748
    const int attribute_unused t0= src[ 0-1*stride];\
1749
    const int attribute_unused t1= src[ 1-1*stride];\
1750
    const int attribute_unused t2= src[ 2-1*stride];\
1751
    const int attribute_unused t3= src[ 3-1*stride];\
1752 1752

  
1753 1753
static void pred4x4_down_right_c(uint8_t *src, uint8_t *topright, int stride){
1754 1754
    const int lt= src[-1-1*stride];
......
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;
1804 1803

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

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

  
1873 1870
    src[0+0*stride]=
1874 1871
    src[2+1*stride]=(lt + l0 + 1)>>1;

Also available in: Unified diff