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:
2907abe
)
mark qtrle input data as const.
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sat, 2 Feb 2008 22:09:07 +0000
(22:09 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sat, 2 Feb 2008 22:09:07 +0000
(22:09 +0000)
Originally committed as revision 11820 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/qtrle.c
patch
|
blob
|
history
diff --git
a/libavcodec/qtrle.c
b/libavcodec/qtrle.c
index
06ea48e
..
84482ba
100644
(file)
--- a/
libavcodec/qtrle.c
+++ b/
libavcodec/qtrle.c
@@
-45,7
+45,7
@@
typedef struct QtrleContext {
DSPContext dsp;
AVFrame frame;
- unsigned char *buf;
+
const
unsigned char *buf;
int size;
} QtrleContext;
@@
-530,7
+530,7
@@
static int qtrle_decode_init(AVCodecContext *avctx)
static int qtrle_decode_frame(AVCodecContext *avctx,
void *data, int *data_size,
- uint8_t *buf, int buf_size)
+
const
uint8_t *buf, int buf_size)
{
QtrleContext *s = avctx->priv_data;