diff options
author | Rostislav Pehlivanov <atomnuker@gmail.com> | 2015-07-29 05:44:24 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-08-01 02:54:35 +0200 |
commit | 6d175158e914f042d4dc3a67688456cd0b9d8c62 (patch) | |
tree | 4c5bd1f5e874ff4df18b356a2a48a3e6e092b880 /libavcodec/aacenc.h | |
parent | 2ef6994ef6354425e0b1c229b05a0b2ffe0928e9 (diff) | |
download | ffmpeg-6d175158e914f042d4dc3a67688456cd0b9d8c62.tar.gz |
aacenc: remove redundant argument from coder functions
This commit removes a redundant argument from the functions in aaccoder.
The argument lambda was redundant as it was just a copy of s->lambda,
to which all functions have access to anyway. This cleans up the function
pointers a bit which is helpful as there are a lot of other search_for_*
functions under development and with them populated it gets messy.
Reviewed-by: Claudio Freire <klaussfreire@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/aacenc.h')
-rw-r--r-- | libavcodec/aacenc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/aacenc.h b/libavcodec/aacenc.h index 1f05aabd76..80ada0774b 100644 --- a/libavcodec/aacenc.h +++ b/libavcodec/aacenc.h @@ -56,9 +56,9 @@ typedef struct AACCoefficientsEncoder { void (*quantize_and_encode_band)(struct AACEncContext *s, PutBitContext *pb, const float *in, int size, int scale_idx, int cb, const float lambda, int rtz); void (*set_special_band_scalefactors)(struct AACEncContext *s, SingleChannelElement *sce); - void (*search_for_pns)(struct AACEncContext *s, AVCodecContext *avctx, SingleChannelElement *sce, const float lambda); - void (*search_for_ms)(struct AACEncContext *s, ChannelElement *cpe, const float lambda); - void (*search_for_is)(struct AACEncContext *s, AVCodecContext *avctx, ChannelElement *cpe, const float lambda); + void (*search_for_pns)(struct AACEncContext *s, AVCodecContext *avctx, SingleChannelElement *sce); + void (*search_for_ms)(struct AACEncContext *s, ChannelElement *cpe); + void (*search_for_is)(struct AACEncContext *s, AVCodecContext *avctx, ChannelElement *cpe); } AACCoefficientsEncoder; extern AACCoefficientsEncoder ff_aac_coders[]; |