summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorReynaldo H. Verdejo Pinochet <reynaldo@opendot.cl>2008-12-04 15:08:44 +0000
committerReynaldo H. Verdejo Pinochet <reynaldo@opendot.cl>2008-12-04 15:08:44 +0000
commit87a9173679118beef867c7e9626868b4a3dfc837 (patch)
tree075114353cbbabc2a6f0523bb58794b611e6b688 /libavcodec
parent485cfbe806e455f5918eef5134b6632461a7699b (diff)
Add expected const qualifier on 'buf' to match AVCodec.decode's declaration.
This change gets rid of another compiler warning. Originally committed as revision 16005 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/qcelpdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/qcelpdec.c b/libavcodec/qcelpdec.c
index 8919365726..87baee4ca5 100644
--- a/libavcodec/qcelpdec.c
+++ b/libavcodec/qcelpdec.c
@@ -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;