diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2008-12-09 00:21:38 +0300 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2008-12-09 00:21:38 +0300 |
commit | dbbec0c2f24dcd79c27dab14329905deda36b807 (patch) | |
tree | 0b6513822be4ee565207aa084285cce9d5b2da05 /libavcodec/qcelpdec.c | |
parent | 6cffaea8dbf9c1fbebdcb3df804b84a911d3fb32 (diff) |
Make av_log_missing_feature an internal function, and change its name
to ff_log_missing_feature.
Originally committed as revision 16037 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/qcelpdec.c')
-rw-r--r-- | libavcodec/qcelpdec.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/qcelpdec.c b/libavcodec/qcelpdec.c index ee21e529ee..ccfba26a88 100644 --- a/libavcodec/qcelpdec.c +++ b/libavcodec/qcelpdec.c @@ -30,6 +30,7 @@ #include <stddef.h> #include "avcodec.h" +#include "internal.h" #include "bitstream.h" #include "qcelpdata.h" @@ -442,7 +443,7 @@ static void apply_gain_ctrl(float *v_out, const float *v_ref, scalefactor = sqrt(ff_dot_productf(v_ref + j, v_ref + j, 40) / scalefactor); else - av_log_missing_feature(NULL, "Zero energy for gain control", 1); + ff_log_missing_feature(NULL, "Zero energy for gain control", 1); for(len=j+40; j<len; j++) v_out[j] = scalefactor * v_in[j]; } @@ -655,7 +656,7 @@ static int determine_bitrate(AVCodecContext *avctx, const int buf_size, if(bitrate == SILENCE) { // FIXME: the decoder should not handle SILENCE frames as I_F_Q frames - av_log_missing_feature(avctx, "Blank frame", 1); + ff_log_missing_feature(avctx, "Blank frame", 1); bitrate = I_F_Q; } return bitrate; |