[xiph-commits] r17975 - branches/theora-1.1/examples

giles at svn.xiph.org giles at svn.xiph.org
Sat May 7 15:35:30 PDT 2011


Author: giles
Date: 2011-05-07 15:35:30 -0700 (Sat, 07 May 2011)
New Revision: 17975

Modified:
   branches/theora-1.1/examples/png2theora.c
Log:
Remove an unused variable.

Silences a warning under gcc 4.6.


Modified: branches/theora-1.1/examples/png2theora.c
===================================================================
--- branches/theora-1.1/examples/png2theora.c	2011-05-07 22:31:49 UTC (rev 17974)
+++ branches/theora-1.1/examples/png2theora.c	2011-05-07 22:35:30 UTC (rev 17975)
@@ -291,14 +291,12 @@
   unsigned int y1;
 
   unsigned long yuv_w;
-  unsigned long yuv_h;
 
   unsigned char *yuv_y;
   unsigned char *yuv_u;
   unsigned char *yuv_v;
 
   yuv_w = ycbcr[0].width;
-  yuv_h = ycbcr[0].height;
 
   yuv_y = ycbcr[0].data;
   yuv_u = ycbcr[1].data;



More information about the commits mailing list