wok rev 11185
Up: gst-plugins-base to 0.10.35.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Nov 03 01:02:38 2011 +0000 (2011-11-03) |
parents | fbc93a88a1a1 |
children | 5ebcbcc330d5 |
files | gst-plugins-base-dev/receipt gst-plugins-base/receipt gst-plugins-base/stuff/oggstream-fix-crashes-with-0-byte-vorbis-packets.patch gst-plugins-base/stuff/theoradec-segfault-on-0-byte-ogg_packet-in-_chain_reverse.patch |
line diff
1.1 --- a/gst-plugins-base-dev/receipt Thu Nov 03 01:00:45 2011 +0000 1.2 +++ b/gst-plugins-base-dev/receipt Thu Nov 03 01:02:38 2011 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="gst-plugins-base-dev" 1.7 -VERSION="0.10.34" 1.8 +VERSION="0.10.35" 1.9 SERIES="0.10" 1.10 CATEGORY="development" 1.11 SHORT_DESC="gst-pluginds-base devel files" 1.12 @@ -13,7 +13,7 @@ 1.13 # Rules to gen a SliTaz package suitable for Tazpkg. 1.14 genpkg_rules() 1.15 { 1.16 - mkdir -p $fs/usr/lib $fs/usr/lib/gstreamer-$SERIES/ 1.17 + mkdir -p $fs/usr/lib $fs/usr/lib/gstreamer-$SERIES/ $fs/usr/share 1.18 cp -a $_pkg/usr/include $fs/usr 1.19 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 1.20 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib/
2.1 --- a/gst-plugins-base/receipt Thu Nov 03 01:00:45 2011 +0000 2.2 +++ b/gst-plugins-base/receipt Thu Nov 03 01:02:38 2011 +0000 2.3 @@ -1,7 +1,7 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="gst-plugins-base" 2.7 -VERSION="0.10.34" 2.8 +VERSION="0.10.35" 2.9 CATEGORY="multimedia" 2.10 SHORT_DESC="GStreamer Base Plugins" 2.11 MAINTAINER="jozee@slitaz.org" 2.12 @@ -22,6 +22,8 @@ 2.13 compile_rules() 2.14 { 2.15 cd $src 2.16 + patch -Np1 -i $stuff/oggstream-fix-crashes-with-0-byte-vorbis-packets.patch 2.17 + patch -Np1 -i $stuff/theoradec-segfault-on-0-byte-ogg_packet-in-_chain_reverse.patch 2.18 ./configure \ 2.19 --prefix=/usr \ 2.20 --sysconfdir=/etc \
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/gst-plugins-base/stuff/oggstream-fix-crashes-with-0-byte-vorbis-packets.patch Thu Nov 03 01:02:38 2011 +0000 3.3 @@ -0,0 +1,22 @@ 3.4 +From 8bd3bdaf3768b3fb6adc85b3bc681fdce07b786e Mon Sep 17 00:00:00 2001 3.5 +From: Jonathan Liu <net147@gmail.com> 3.6 +Date: Wed, 03 Aug 2011 08:18:29 +0000 3.7 +Subject: oggstream: Fix crashes with 0-byte vorbis packets 3.8 + 3.9 +Fixes bug #655574. 3.10 +--- 3.11 +diff --git a/ext/ogg/gstoggstream.c b/ext/ogg/gstoggstream.c 3.12 +index e843f48..77f39d4 100644 3.13 +--- a/ext/ogg/gstoggstream.c 3.14 ++++ b/ext/ogg/gstoggstream.c 3.15 +@@ -792,7 +792,7 @@ packet_duration_vorbis (GstOggStream * pad, ogg_packet * packet) 3.16 + int size; 3.17 + int duration; 3.18 + 3.19 +- if (packet->packet[0] & 1) 3.20 ++ if (packet->bytes == 0 || packet->packet[0] & 1) 3.21 + return 0; 3.22 + 3.23 + mode = (packet->packet[0] >> 1) & ((1 << pad->vorbis_log2_num_modes) - 1); 3.24 +-- 3.25 +cgit v0.8.3-6-g21f6
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/gst-plugins-base/stuff/theoradec-segfault-on-0-byte-ogg_packet-in-_chain_reverse.patch Thu Nov 03 01:02:38 2011 +0000 4.3 @@ -0,0 +1,21 @@ 4.4 +From 7d22d91fca6b9f24ca205eef98031f1ed6a44d33 Mon Sep 17 00:00:00 2001 4.5 +From: Philip Jägenstedt <philipj@opera.com> 4.6 +Date: Tue, 26 Jul 2011 14:10:17 +0000 4.7 +Subject: theoradec: segfault on 0-byte ogg_packet in _chain_reverse 4.8 + 4.9 +--- 4.10 +diff --git a/ext/theora/gsttheoradec.c b/ext/theora/gsttheoradec.c 4.11 +index 96e12ee..25d68db 100644 4.12 +--- a/ext/theora/gsttheoradec.c 4.13 ++++ b/ext/theora/gsttheoradec.c 4.14 +@@ -1440,7 +1440,7 @@ theora_dec_chain_reverse (GstTheoraDec * dec, gboolean discont, GstBuffer * buf) 4.15 + 4.16 + /* if we copied a keyframe, flush and decode the decode queue */ 4.17 + data = GST_BUFFER_DATA (gbuf); 4.18 +- if ((data[0] & 0x40) == 0) { 4.19 ++ if (data && (data[0] & 0x40) == 0) { 4.20 + GST_DEBUG_OBJECT (dec, "copied keyframe"); 4.21 + res = theora_dec_flush_decode (dec); 4.22 + } 4.23 +-- 4.24 +cgit v0.8.3-6-g21f6