[xiph-commits] r18760 - trunk/theora/lib

tterribe at svn.xiph.org tterribe at svn.xiph.org
Tue Jan 8 08:45:06 PST 2013


Author: tterribe
Date: 2013-01-08 08:45:06 -0800 (Tue, 08 Jan 2013)
New Revision: 18760

Modified:
   trunk/theora/lib/state.c
Log:
Include zlib.h when necessary.

Newer versions of png.h don't include it for us.
This is only needed when compiling with OC_DUMP_IMAGES (i.e., for
 debugging).


Modified: trunk/theora/lib/state.c
===================================================================
--- trunk/theora/lib/state.c	2013-01-08 16:44:02 UTC (rev 18759)
+++ trunk/theora/lib/state.c	2013-01-08 16:45:06 UTC (rev 18760)
@@ -21,6 +21,7 @@
 #if defined(OC_DUMP_IMAGES)
 # include <stdio.h>
 # include "png.h"
+# include "zlib.h"
 #endif
 
 /*The function used to fill in the chroma plane motion vectors for a macro



More information about the commits mailing list