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:
6904168
)
avcodec/mjpegdec: fix decoding 4th plane
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 27 Feb 2014 20:49:46 +0000
(21:49 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 27 Feb 2014 20:49:46 +0000
(21:49 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mjpegdec.c
patch
|
blob
|
history
diff --git
a/libavcodec/mjpegdec.c
b/libavcodec/mjpegdec.c
index
67b27e1
..
c079228
100644
(file)
--- a/
libavcodec/mjpegdec.c
+++ b/
libavcodec/mjpegdec.c
@@
-497,7
+497,7
@@
unk_pixfmt:
s->picture_ptr->key_frame = 1;
s->got_picture = 1;
- for (i = 0; i <
3
; i++)
+ for (i = 0; i <
4
; i++)
s->linesize[i] = s->picture_ptr->linesize[i] << s->interlaced;
av_dlog(s->avctx, "%d %d %d %d %d %d\n",