Commit afe5e2ea authored by lucabe's avatar lucabe

AVPicture has 4 planes, not 3


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6838 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent db7b1d6c
......@@ -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];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment