Revision e211e255

View differences:

libavcodec/binkidct.c
62 62
#define MUNGE_ROW(x) (((x) + 0x7F)>>8)
63 63
#define IDCT_ROW(dest,src) IDCT_TRANSFORM(dest,0,1,2,3,4,5,6,7,0,1,2,3,4,5,6,7,MUNGE_ROW,src)
64 64

  
65
static inline void bink_idct_col(DCTELEM *dest, const DCTELEM *src)
65
static inline void bink_idct_col(int *dest, const DCTELEM *src)
66 66
{
67 67
    if ((src[8]|src[16]|src[24]|src[32]|src[40]|src[48]|src[56])==0) {
68 68
        dest[0]  =
......
81 81
void ff_bink_idct_c(DCTELEM *block)
82 82
{
83 83
    int i;
84
    DCTELEM temp[64];
84
    int temp[64];
85 85

  
86 86
    for (i = 0; i < 8; i++)
87 87
        bink_idct_col(&temp[i], &block[i]);
......
103 103
void ff_bink_idct_put_c(uint8_t *dest, int linesize, DCTELEM *block)
104 104
{
105 105
    int i;
106
    DCTELEM temp[64];
106
    int temp[64];
107 107
    for (i = 0; i < 8; i++)
108 108
        bink_idct_col(&temp[i], &block[i]);
109 109
    for (i = 0; i < 8; i++) {
tests/ref/fate/bink-demux-video
13 13
0, 72000, 460800, 0x71c0f48e
14 14
0, 78000, 460800, 0x5fc8f783
15 15
0, 84000, 460800, 0xd23d336a
16
0, 90000, 460800, 0xa7aca9e0
17
0, 96000, 460800, 0x1dff2144
18
0, 102000, 460800, 0x82cf8b2b
19
0, 108000, 460800, 0x4cbe3544
16
0, 90000, 460800, 0xadcfa9e0
17
0, 96000, 460800, 0x24222144
18
0, 102000, 460800, 0x88f28b2b
19
0, 108000, 460800, 0x52e13544
20 20
0, 114000, 460800, 0x7e724731

Also available in: Unified diff