[Ffmpeg-cvslog] r6838 - trunk/libavcodec/imgresample.c

lucabe subversion
Mon Oct 30 11:15:37 CET 2006


Author: lucabe
Date: Mon Oct 30 11:15:37 2006
New Revision: 6838

Modified:
   trunk/libavcodec/imgresample.c

Log:
AVPicture has 4 planes, not 3


Modified: trunk/libavcodec/imgresample.c
==============================================================================
--- trunk/libavcodec/imgresample.c	(original)
+++ trunk/libavcodec/imgresample.c	Mon Oct 30 11:15:37 2006
@@ -727,7 +727,7 @@
     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];




More information about the ffmpeg-cvslog mailing list