[FFmpeg-cvslog] r31879 - trunk/libswscale/swscale-test.c

ramiro subversion
Sun Aug 1 00:02:55 CEST 2010


Author: ramiro
Date: Sun Aug  1 00:02:55 2010
New Revision: 31879

Log:
swscale-test: merge declaration and initialization

Modified:
   trunk/libswscale/swscale-test.c

Modified: trunk/libswscale/swscale-test.c
==============================================================================
--- trunk/libswscale/swscale-test.c	Sat Jul 31 18:55:57 2010	(r31878)
+++ trunk/libswscale/swscale-test.c	Sun Aug  1 00:02:55 2010	(r31879)
@@ -82,9 +82,8 @@ static int doTest(uint8_t *ref[4], int r
     int i;
     uint64_t ssdY, ssdU=0, ssdV=0, ssdA=0;
     struct SwsContext *dstContext = NULL, *outContext = NULL;
-    int res;
+    int res = 0;
 
-    res = 0;
     for (i=0; i<4; i++) {
         // avoid stride % bpp != 0
         if (dstFormat==PIX_FMT_RGB24 || dstFormat==PIX_FMT_BGR24)



More information about the ffmpeg-cvslog mailing list