Commit af01f19f authored by reynaldo's avatar reynaldo

Adds expected const qualifier on 'buf' to match AVCodec.decode's declaration....

Adds expected const qualifier on 'buf' to match AVCodec.decode's declaration. Gets rid of another compiler warning

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16005 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 105b044e
......@@ -627,7 +627,7 @@ static int buf_size2bitrate(const int buf_size)
* TIA/EIA/IS-733 2.4.8.7.1
*/
static int determine_bitrate(AVCodecContext *avctx, const int buf_size,
uint8_t **buf)
const uint8_t **buf)
{
qcelp_packet_rate bitrate;
......@@ -669,7 +669,7 @@ static void warn_insufficient_frame_quality(AVCodecContext *avctx,
}
static int qcelp_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
uint8_t *buf, const int buf_size)
const uint8_t *buf, int buf_size)
{
QCELPContext *q = avctx->priv_data;
float *outbuffer = data;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment