From 02c63a109f33be807d59cd0659752099b62567e9 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Wed, 13 Apr 2011 00:20:26 +0300 Subject: libopencore-amr, libvo-amrbwenc: Rename variables and functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Avoid camelCase names for functions and variables. Signed-off-by: Martin Storsjö --- libavcodec/libvo-amrwbenc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libavcodec/libvo-amrwbenc.c') 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); } -- cgit v1.2.3