Commit 8dbd0a95 authored by Vladimir Voroshilov's avatar Vladimir Voroshilov

Remove ff_g729_ and g729_ prefixes from static routines.

Originally committed as revision 19118 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 0b175caa
...@@ -85,7 +85,7 @@ typedef struct ...@@ -85,7 +85,7 @@ typedef struct
/** /**
* \brief pseudo random number generator * \brief pseudo random number generator
*/ */
static inline uint16_t g729_random(uint16_t value) static inline uint16_t random(uint16_t value)
{ {
return 31821 * value + 13849; return 31821 * value + 13849;
} }
...@@ -93,7 +93,7 @@ static inline uint16_t g729_random(uint16_t value) ...@@ -93,7 +93,7 @@ static inline uint16_t g729_random(uint16_t value)
/** /**
* Get parity bit of bit 2..7 * Get parity bit of bit 2..7
*/ */
static inline int g729_get_parity(uint8_t value) static inline int get_parity(uint8_t value)
{ {
return (0x6996966996696996ULL >> (value >> 2)) & 1; return (0x6996966996696996ULL >> (value >> 2)) & 1;
} }
...@@ -155,9 +155,9 @@ AVCodec g729_decoder = ...@@ -155,9 +155,9 @@ AVCodec g729_decoder =
CODEC_TYPE_AUDIO, CODEC_TYPE_AUDIO,
CODEC_ID_G729, CODEC_ID_G729,
sizeof(G729_Context), sizeof(G729_Context),
ff_g729_decoder_init, decoder_init,
NULL, NULL,
NULL, NULL,
ff_g729_decode_frame, decode_frame,
.long_name = NULL_IF_CONFIG_SMALL("G.729"), .long_name = NULL_IF_CONFIG_SMALL("G.729"),
}; };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment