diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2012-04-03 14:54:55 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2012-04-03 14:54:55 +0000 |
commit | b618c3d0693aec564c6746238fd05d94e31d3b76 (patch) | |
tree | 4a4834f3097bba25dba1adeba4324080c1b4bf7b /extra/gstreamer0.10-base/oggstream-fix-crashes-with-0-byte-vorbis-packets.patch | |
parent | 8cb5196780766f47b595410eed8ddbee2e8add08 (diff) |
Tue Apr 3 14:54:45 UTC 2012
Diffstat (limited to 'extra/gstreamer0.10-base/oggstream-fix-crashes-with-0-byte-vorbis-packets.patch')
-rw-r--r-- | extra/gstreamer0.10-base/oggstream-fix-crashes-with-0-byte-vorbis-packets.patch | 22 |
1 files changed, 0 insertions, 22 deletions
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 <net147@gmail.com> -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 |