OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e9be11
)
Fix one warning
author
Michel Bardiaux
<mbardiaux@mediaxim.be>
Wed, 14 Feb 2007 09:57:41 +0000
(09:57 +0000)
committer
Michel Bardiaux
<mbardiaux@mediaxim.be>
Wed, 14 Feb 2007 09:57:41 +0000
(09:57 +0000)
Originally committed as revision 7976 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/jpeg_ls.c
patch
|
blob
|
history
diff --git
a/libavcodec/jpeg_ls.c
b/libavcodec/jpeg_ls.c
index
4629176
..
67f0d0f
100644
(file)
--- a/
libavcodec/jpeg_ls.c
+++ b/
libavcodec/jpeg_ls.c
@@
-480,7
+480,7
@@
static int ls_decode_picture(MJpegDecodeContext *s, int near, int point_transfor
src += s->picture.linesize[0];
}
}else{
- uint16_t *src = s->picture.data[0];
+ uint16_t *src =
(uint16_t*)
s->picture.data[0];
for(i = 0; i < s->height; i++){
for(x = 0; x < w; x++){