- Patch by Kenan Gillet
Originally committed as revision 16046 to svn://svn.ffmpeg.org/ffmpeg/trunk
float pitch_gain[4];
uint8_t pitch_lag[4];
uint16_t first16bits;
+ uint8_t warned_buf_mismatch_bitrate;
} QCELPContext;
/**
{
if(bitrate > **buf)
{
+ QCELPContext *q = avctx->priv_data;
+ if (!q->warned_buf_mismatch_bitrate)
+ {
av_log(avctx, AV_LOG_WARNING,
"Claimed bitrate and buffer size mismatch.\n");
+ q->warned_buf_mismatch_bitrate = 1;
+ }
bitrate = **buf;
}else if(bitrate < **buf)
{