diff options
author | root <root@rshg054.dnsready.net> | 2013-07-03 00:48:29 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-03 00:48:29 -0700 |
commit | 68e8645dcd1ce619af6d92f3645c43b15bc5ac71 (patch) | |
tree | fc71038e4bda87188130eebe5cee6d23bfda5472 /extra/libtheora/libtheora-1.1.1-libpng16.patch | |
parent | 8917cf5e44af1562114fe0d243dcea7d187c8047 (diff) |
Wed Jul 3 00:48:29 PDT 2013
Diffstat (limited to 'extra/libtheora/libtheora-1.1.1-libpng16.patch')
-rw-r--r-- | extra/libtheora/libtheora-1.1.1-libpng16.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/extra/libtheora/libtheora-1.1.1-libpng16.patch b/extra/libtheora/libtheora-1.1.1-libpng16.patch new file mode 100644 index 000000000..93da700c4 --- /dev/null +++ b/extra/libtheora/libtheora-1.1.1-libpng16.patch @@ -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); + } |