diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-02-01 14:10:56 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-02-01 14:10:56 +0000 |
commit | 2b57b46313b3524f80e3b6f6cc6e6cf31dd95866 (patch) | |
tree | 8ed8f87164744bf11f8d297b269c532fcc44b777 /libavcodec | |
parent | 3d37b11f92f05b72a4f9fd024f891ec65ad68169 (diff) | |
download | ffmpeg-2b57b46313b3524f80e3b6f6cc6e6cf31dd95866.tar.gz |
const
Originally committed as revision 11743 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/smc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/smc.c b/libavcodec/smc.c index 78f130cf3a..f181e0c4ca 100644 --- a/libavcodec/smc.c +++ b/libavcodec/smc.c @@ -48,7 +48,7 @@ typedef struct SmcContext { DSPContext dsp; AVFrame frame; - unsigned char *buf; + const unsigned char *buf; int size; /* SMC color tables */ @@ -443,7 +443,7 @@ static int smc_decode_init(AVCodecContext *avctx) static int smc_decode_frame(AVCodecContext *avctx, void *data, int *data_size, - uint8_t *buf, int buf_size) + const uint8_t *buf, int buf_size) { SmcContext *s = avctx->priv_data; |