Revision 91cc5d37 libavcodec/wnv1.c

View differences:

libavcodec/wnv1.c
26 26

  
27 27
#include "avcodec.h"
28 28
#include "get_bits.h"
29
#include "libavutil/common.h"
29 30

  
30 31

  
31 32
typedef struct WNV1Context{
......
51 52
    int v = get_vlc2(&w->gb, code_vlc.table, CODE_VLC_BITS, 1);
52 53

  
53 54
    if(v==15)
54
        return ff_reverse[ get_bits(&w->gb, 8 - w->shift) ];
55
        return av_reverse[ get_bits(&w->gb, 8 - w->shift) ];
55 56
    else
56 57
        return base_value + ((v - 7)<<w->shift);
57 58
}
......
87 88
    p->key_frame = 1;
88 89

  
89 90
    for(i=8; i<buf_size; i++)
90
        rbuf[i]= ff_reverse[ buf[i] ];
91
        rbuf[i]= av_reverse[ buf[i] ];
91 92
    init_get_bits(&l->gb, rbuf+8, (buf_size-8)*8);
92 93

  
93 94
    if (buf[2] >> 4 == 6)

Also available in: Unified diff