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:
521c38f
)
const
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 1 Feb 2008 16:03:03 +0000
(16:03 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 1 Feb 2008 16:03:03 +0000
(16:03 +0000)
Originally committed as revision 11783 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/vcr1.c
patch
|
blob
|
history
diff --git
a/libavcodec/vcr1.c
b/libavcodec/vcr1.c
index
62bf123
..
30fc302
100644
(file)
--- a/
libavcodec/vcr1.c
+++ b/
libavcodec/vcr1.c
@@
-39,12
+39,12
@@
typedef struct VCR1Context{
static int decode_frame(AVCodecContext *avctx,
void *data, int *data_size,
- uint8_t *buf, int buf_size)
+
const
uint8_t *buf, int buf_size)
{
VCR1Context * const a = avctx->priv_data;
AVFrame *picture = data;
AVFrame * const p= (AVFrame*)&a->picture;
- uint8_t *bytestream= buf;
+
const
uint8_t *bytestream= buf;
int i, x, y;
if(p->data[0])