Blame SOURCES/libtheora-1.1.1-libpng16.patch

051c04
http://bugs.gentoo.org/465450
051c04
http://trac.xiph.org/ticket/1947
051c04
051c04
--- examples/png2theora.c
051c04
+++ examples/png2theora.c
051c04
@@ -462,9 +462,9 @@
051c04
   png_set_strip_alpha(png_ptr);
051c04
 
051c04
   row_data = (png_bytep)png_malloc(png_ptr,
051c04
-    3*height*width*png_sizeof(*row_data));
051c04
+    3*height*width*sizeof(*row_data));
051c04
   row_pointers = (png_bytep *)png_malloc(png_ptr,
051c04
-    height*png_sizeof(*row_pointers));
051c04
+    height*sizeof(*row_pointers));
051c04
   for(y = 0; y < height; y++) {
051c04
     row_pointers[y] = row_data + y*(3*width);
051c04
   }