Browse Source

Remove ff_g729_ and g729_ prefixes from static routines.

Originally committed as revision 19118 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Vladimir Voroshilov 16 years ago
parent
commit
8dbd0a95ee
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      libavcodec/g729dec.c

+ 4
- 4
libavcodec/g729dec.c View File

@@ -85,7 +85,7 @@ typedef struct
/**
* \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;
}
@@ -93,7 +93,7 @@ static inline uint16_t g729_random(uint16_t value)
/**
* 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;
}
@@ -155,9 +155,9 @@ AVCodec g729_decoder =
CODEC_TYPE_AUDIO,
CODEC_ID_G729,
sizeof(G729_Context),
ff_g729_decoder_init,
decoder_init,
NULL,
NULL,
ff_g729_decode_frame,
decode_frame,
.long_name = NULL_IF_CONFIG_SMALL("G.729"),
};

Loading…
Cancel
Save