From b618c3d0693aec564c6746238fd05d94e31d3b76 Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 3 Apr 2012 14:54:55 +0000 Subject: Tue Apr 3 14:54:45 UTC 2012 --- ...am-fix-crashes-with-0-byte-vorbis-packets.patch | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 extra/gstreamer0.10-base/oggstream-fix-crashes-with-0-byte-vorbis-packets.patch (limited to 'extra/gstreamer0.10-base/oggstream-fix-crashes-with-0-byte-vorbis-packets.patch') diff --git a/extra/gstreamer0.10-base/oggstream-fix-crashes-with-0-byte-vorbis-packets.patch b/extra/gstreamer0.10-base/oggstream-fix-crashes-with-0-byte-vorbis-packets.patch deleted file mode 100644 index 8ba4c8ed3..000000000 --- a/extra/gstreamer0.10-base/oggstream-fix-crashes-with-0-byte-vorbis-packets.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 8bd3bdaf3768b3fb6adc85b3bc681fdce07b786e Mon Sep 17 00:00:00 2001 -From: Jonathan Liu -Date: Wed, 03 Aug 2011 08:18:29 +0000 -Subject: oggstream: Fix crashes with 0-byte vorbis packets - -Fixes bug #655574. ---- -diff --git a/ext/ogg/gstoggstream.c b/ext/ogg/gstoggstream.c -index e843f48..77f39d4 100644 ---- a/ext/ogg/gstoggstream.c -+++ b/ext/ogg/gstoggstream.c -@@ -792,7 +792,7 @@ packet_duration_vorbis (GstOggStream * pad, ogg_packet * packet) - int size; - int duration; - -- if (packet->packet[0] & 1) -+ if (packet->bytes == 0 || packet->packet[0] & 1) - return 0; - - mode = (packet->packet[0] >> 1) & ((1 << pad->vorbis_log2_num_modes) - 1); --- -cgit v0.8.3-6-g21f6 -- cgit v1.2.3-54-g00ecf