projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d37b11
)
const
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 1 Feb 2008 14:10:56 +0000
(14:10 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 1 Feb 2008 14:10:56 +0000
(14:10 +0000)
Originally committed as revision 11743 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/smc.c
patch
|
blob
|
history
diff --git
a/libavcodec/smc.c
b/libavcodec/smc.c
index 78f130cf3ad43fc4928ead637c9f92dbe703f725..f181e0c4cab3bda303c721dad5d49f436a5004a7 100644
(file)
--- 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;