diff options
author | Martin Storsjö <martin@martin.st> | 2011-04-13 00:20:26 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2011-04-13 13:00:14 +0300 |
commit | 02c63a109f33be807d59cd0659752099b62567e9 (patch) | |
tree | 2d80a220951c0a8fa590761ef3be34b71ca8a6ba /libavcodec/libvo-amrwbenc.c | |
parent | 9b9c6405fd293bb7820256f474406bdb771647a7 (diff) | |
download | ffmpeg-02c63a109f33be807d59cd0659752099b62567e9.tar.gz |
libopencore-amr, libvo-amrbwenc: Rename variables and functions
Avoid camelCase names for functions and variables.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/libvo-amrwbenc.c')
-rw-r--r-- | libavcodec/libvo-amrwbenc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/libvo-amrwbenc.c b/libavcodec/libvo-amrwbenc.c index aa89b7fe05..e55fdc69e0 100644 --- a/libavcodec/libvo-amrwbenc.c +++ b/libavcodec/libvo-amrwbenc.c @@ -33,7 +33,7 @@ typedef struct AMRWBContext { int allow_dtx; } AMRWBContext; -static int getWBBitrateMode(int bitrate) +static int get_wb_bitrate_mode(int bitrate) { /* make the correspondance between bitrate and mode */ static const int rates[] = { 6600, 8850, 12650, 14250, 15850, 18250, @@ -61,7 +61,7 @@ static av_cold int amr_wb_encode_init(AVCodecContext *avctx) return AVERROR(ENOSYS); } - if ((s->mode = getWBBitrateMode(avctx->bit_rate)) < 0) { + if ((s->mode = get_wb_bitrate_mode(avctx->bit_rate)) < 0) { av_log(avctx, AV_LOG_ERROR, wb_bitrate_unsupported); return AVERROR(ENOSYS); } @@ -91,7 +91,7 @@ static int amr_wb_encode_frame(AVCodecContext *avctx, AMRWBContext *s = avctx->priv_data; int size; - if ((s->mode = getWBBitrateMode(avctx->bit_rate)) < 0) { + if ((s->mode = get_wb_bitrate_mode(avctx->bit_rate)) < 0) { av_log(avctx, AV_LOG_ERROR, wb_bitrate_unsupported); return AVERROR(ENOSYS); } |