sbcl rebuild
[arch-packages.git] / libtheora / trunk / libtheora-1.1.1-libpng16.patch
blob93da700c4d7a1b82ea4d4a88080c837e5454c3bc
1 http://bugs.gentoo.org/465450
2 http://trac.xiph.org/ticket/1947
4 --- examples/png2theora.c
5 +++ examples/png2theora.c
6 @@ -462,9 +462,9 @@
7 png_set_strip_alpha(png_ptr);
9 row_data = (png_bytep)png_malloc(png_ptr,
10 - 3*height*width*png_sizeof(*row_data));
11 + 3*height*width*sizeof(*row_data));
12 row_pointers = (png_bytep *)png_malloc(png_ptr,
13 - height*png_sizeof(*row_pointers));
14 + height*sizeof(*row_pointers));
15 for(y = 0; y < height; y++) {
16 row_pointers[y] = row_data + y*(3*width);