OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25482d5
)
avcodec/smc: Mark pixel pointer as const
author
Michael Niedermayer
<michael@niedermayer.cc>
Sun, 1 May 2016 12:33:20 +0000
(14:33 +0200)
committer
Michael Niedermayer
<michael@niedermayer.cc>
Sun, 1 May 2016 15:47:55 +0000
(17:47 +0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/smc.c
patch
|
blob
|
history
diff --git
a/libavcodec/smc.c
b/libavcodec/smc.c
index
a423c45
..
3adf6c8
100644
(file)
--- a/
libavcodec/smc.c
+++ b/
libavcodec/smc.c
@@
-92,7
+92,7
@@
static void smc_decode_stream(SmcContext *s)
unsigned int color_flags_b;
unsigned int flag_mask;
- unsigned char *pixels = s->frame->data[0];
+ unsigned char *
const
pixels = s->frame->data[0];
int image_size = height * s->frame->linesize[0];
int row_ptr = 0;