|
Lucio Andrés Illanes Albornoz |
e3166d |
diff -ru libtheora-1.1.1.orig/examples/png2theora.c libtheora-1.1.1/examples/png2theora.c
|
|
Lucio Andrés Illanes Albornoz |
e3166d |
--- libtheora-1.1.1.orig/examples/png2theora.c 2009-08-22 20:14:04.000000000 +0200
|
|
Lucio Andrés Illanes Albornoz |
e3166d |
+++ libtheora-1.1.1/examples/png2theora.c 2018-08-04 18:02:49.568313482 +0200
|
|
Lucio Andrés Illanes Albornoz |
e3166d |
@@ -462,9 +462,9 @@
|
|
Lucio Andrés Illanes Albornoz |
e3166d |
png_set_strip_alpha(png_ptr);
|
|
Lucio Andrés Illanes Albornoz |
e3166d |
|
|
Lucio Andrés Illanes Albornoz |
e3166d |
row_data = (png_bytep)png_malloc(png_ptr,
|
|
Lucio Andrés Illanes Albornoz |
e3166d |
- 3*height*width*png_sizeof(*row_data));
|
|
Lucio Andrés Illanes Albornoz |
e3166d |
+ 3*height*width*sizeof(*row_data));
|
|
Lucio Andrés Illanes Albornoz |
e3166d |
row_pointers = (png_bytep *)png_malloc(png_ptr,
|
|
Lucio Andrés Illanes Albornoz |
e3166d |
- height*png_sizeof(*row_pointers));
|
|
Lucio Andrés Illanes Albornoz |
e3166d |
+ height*sizeof(*row_pointers));
|
|
Lucio Andrés Illanes Albornoz |
e3166d |
for(y = 0; y < height; y++) {
|
|
Lucio Andrés Illanes Albornoz |
e3166d |
row_pointers[y] = row_data + y*(3*width);
|
|
Lucio Andrés Illanes Albornoz |
e3166d |
}
|