summaryrefslogtreecommitdiff
path: root/libavcodec/truespeech.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-01 15:57:54 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-02-01 15:57:54 +0000
commitd177b6200f054f3d3a8aa4b7c9c3e87f111ada08 (patch)
tree9b7c552fb4c0c8f9589d1f8c1c39eee1de5fbb10 /libavcodec/truespeech.c
parent04650579ec9b77e8ecd12547e0e176540c1b5414 (diff)
downloadffmpeg-d177b6200f054f3d3a8aa4b7c9c3e87f111ada08.tar.gz
const
Originally committed as revision 11779 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/truespeech.c')
-rw-r--r--libavcodec/truespeech.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/truespeech.c b/libavcodec/truespeech.c
index eafbdf7a01..9deac28bef 100644
--- a/libavcodec/truespeech.c
+++ b/libavcodec/truespeech.c
@@ -57,7 +57,7 @@ static int truespeech_decode_init(AVCodecContext * avctx)
return 0;
}
-static void truespeech_read_frame(TSContext *dec, uint8_t *input)
+static void truespeech_read_frame(TSContext *dec, const uint8_t *input)
{
uint32_t t;
@@ -329,7 +329,7 @@ static void truespeech_save_prevvec(TSContext *c)
static int truespeech_decode_frame(AVCodecContext *avctx,
void *data, int *data_size,
- uint8_t *buf, int buf_size)
+ const uint8_t *buf, int buf_size)
{
TSContext *c = avctx->priv_data;