summaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-07-07 01:31:03 +0200
committerDiego Biurrun <diego@biurrun.de>2011-07-16 01:26:51 +0200
commit0523dc57ffd0032b572392b1acc353db651eb23f (patch)
tree9ceaf54bda97c37f21578c2b0df8303ee4f0e6c4 /libavcodec
parent34e36f3a1c21af25c0a96f3e3f8ef82224ce8a6e (diff)
downloadffmpeg-streaming-0523dc57ffd0032b572392b1acc353db651eb23f.zip
ffmpeg-streaming-0523dc57ffd0032b572392b1acc353db651eb23f.tar.gz
libspeexdec: Drop const qualifier to silence compiler warning.
libavcodec/libspeexdec.c:108: warning: passing argument 2 of ‘speex_bits_read_from’ discards qualifiers from pointer target type /usr/include/speex/speex_bits.h:80: note: expected ‘char *’ but argument is of type ‘const uint8_t *’
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/libspeexdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libspeexdec.c b/libavcodec/libspeexdec.c
index e6626dc..1cee71e 100644
--- a/libavcodec/libspeexdec.c
+++ b/libavcodec/libspeexdec.c
@@ -96,7 +96,7 @@ static int libspeex_decode_frame(AVCodecContext *avctx,
void *data, int *data_size,
AVPacket *avpkt)
{
- const uint8_t *buf = avpkt->data;
+ uint8_t *buf = avpkt->data;
int buf_size = avpkt->size;
LibSpeexContext *s = avctx->priv_data;
int16_t *output = data, *end;
OpenPOWER on IntegriCloud