aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-01 14:09:52 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-02-01 14:09:52 +0000
commit3d37b11f92f05b72a4f9fd024f891ec65ad68169 (patch)
tree63529950ffffcf717e1baa85f58fb471cd69e6e1
parent16db358520de3074afbde06329840a6a095f5f8c (diff)
downloadffmpeg-3d37b11f92f05b72a4f9fd024f891ec65ad68169.tar.gz
some const
Originally committed as revision 11742 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/smacker.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/smacker.c b/libavcodec/smacker.c
index 614f3015b9..b80e28596b 100644
--- a/libavcodec/smacker.c
+++ b/libavcodec/smacker.c
@@ -344,7 +344,7 @@ static av_always_inline int smk_get_code(GetBitContext *gb, int *recode, int *la
return v;
}
-static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size)
+static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size)
{
SmackVContext * const smk = avctx->priv_data;
uint8_t *out;
@@ -567,7 +567,7 @@ static int smka_decode_init(AVCodecContext *avctx)
/**
* Decode Smacker audio data
*/
-static int smka_decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size)
+static int smka_decode_frame(AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size)
{
GetBitContext gb;
HuffContext h[4];