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:
498c544
)
AVPicture has 4 planes, not 3
author
Luca Abeni
<lucabe72@email.it>
Mon, 30 Oct 2006 10:15:37 +0000
(10:15 +0000)
committer
Luca Abeni
<lucabe72@email.it>
Mon, 30 Oct 2006 10:15:37 +0000
(10:15 +0000)
Originally committed as revision 6838 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/imgresample.c
patch
|
blob
|
history
diff --git
a/libavcodec/imgresample.c
b/libavcodec/imgresample.c
index
84336ef
..
82a1d95
100644
(file)
--- a/
libavcodec/imgresample.c
+++ b/
libavcodec/imgresample.c
@@
-727,7
+727,7
@@
int sws_scale(struct SwsContext *ctx, uint8_t* src[], int srcStride[],
uint8_t *buf1 = NULL, *buf2 = NULL;
enum PixelFormat current_pix_fmt;
- for (i = 0; i <
3
; i++) {
+ for (i = 0; i <
4
; i++) {
src_pict.data[i] = src[i];
src_pict.linesize[i] = srcStride[i];
dst_pict.data[i] = dst[i];