Revision 8dbd0a95 libavcodec/g729dec.c

View differences:

libavcodec/g729dec.c
85 85
/**
86 86
 * \brief pseudo random number generator
87 87
 */
88
static inline uint16_t g729_random(uint16_t value)
88
static inline uint16_t random(uint16_t value)
89 89
{
90 90
    return 31821 * value + 13849;
91 91
}
......
93 93
/**
94 94
 * Get parity bit of bit 2..7
95 95
 */
96
static inline int g729_get_parity(uint8_t value)
96
static inline int get_parity(uint8_t value)
97 97
{
98 98
   return (0x6996966996696996ULL >> (value >> 2)) & 1;
99 99
}
......
155 155
    CODEC_TYPE_AUDIO,
156 156
    CODEC_ID_G729,
157 157
    sizeof(G729_Context),
158
    ff_g729_decoder_init,
158
    decoder_init,
159 159
    NULL,
160 160
    NULL,
161
    ff_g729_decode_frame,
161
    decode_frame,
162 162
    .long_name = NULL_IF_CONFIG_SMALL("G.729"),
163 163
};

Also available in: Unified diff