libtheora:moved into main repo for pisi 2.0
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
diff -ur libtheora-1.0beta2.orig/configure.ac libtheora-1.0beta2/configure.ac
|
||||
--- libtheora-1.0beta2.orig/configure.ac 2007-10-13 00:01:38.000000000 +0300
|
||||
+++ libtheora-1.0beta2/configure.ac 2007-11-25 22:44:49.000000000 +0200
|
||||
@@ -102,8 +102,8 @@
|
||||
case $host in
|
||||
*)
|
||||
DEBUG="-g -Wall -Wno-parentheses -DDEBUG -D__NO_MATH_INLINES"
|
||||
- CFLAGS="-Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops"
|
||||
- PROFILE="-Wall -Wno-parentheses -pg -g -O3 -fno-inline-functions -DDEBUG";;
|
||||
+ CFLAGS="-Wall -Wno-parentheses"
|
||||
+ PROFILE="-Wall -Wno-parentheses -pg -g -fno-inline-functions -DDEBUG";;
|
||||
esac
|
||||
fi
|
||||
CFLAGS="$CFLAGS $cflags_save"
|
||||
@@ -0,0 +1,17 @@
|
||||
http://bugs.gentoo.org/465450
|
||||
http://trac.xiph.org/ticket/1947
|
||||
|
||||
--- examples/png2theora.c
|
||||
+++ examples/png2theora.c
|
||||
@@ -462,9 +462,9 @@
|
||||
png_set_strip_alpha(png_ptr);
|
||||
|
||||
row_data = (png_bytep)png_malloc(png_ptr,
|
||||
- 3*height*width*png_sizeof(*row_data));
|
||||
+ 3*height*width*sizeof(*row_data));
|
||||
row_pointers = (png_bytep *)png_malloc(png_ptr,
|
||||
- height*png_sizeof(*row_pointers));
|
||||
+ height*sizeof(*row_pointers));
|
||||
for(y = 0; y < height; y++) {
|
||||
row_pointers[y] = row_data + y*(3*width);
|
||||
}
|
||||
Reference in New Issue
Block a user