[totem-pl-parser] Fix parsing of http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=271121520
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Subject: [totem-pl-parser] Fix parsing of http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=271121520
- Date: Tue, 28 Apr 2009 20:18:24 -0400 (EDT)
commit c719ec0908a2b03618811f10ec8a9a117d0213bc
Author: Bastien Nocera <hadess hadess net>
Date: Wed Apr 29 01:08:34 2009 +0100
Fix parsing of http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=271121520
2009-04-29 Bastien Nocera <hadess hadess net>
* plparse/totem-pl-parser-podcast.c (decompress_gzip):
Fix parsing of
http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=271121520
when decompressing doesn't work, it might be because it's already
uncompressed
---
ChangeLog | 8 ++++++++
plparse/totem-pl-parser-podcast.c | 2 +-
2 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 6400de1..42f458f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2009-04-29 Bastien Nocera <hadess hadess net>
+ * plparse/totem-pl-parser-podcast.c (decompress_gzip):
+ Fix parsing of
+ http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=271121520
+ when decompressing doesn't work, it might be because it's already
+ uncompressed
+
+2009-04-29 Bastien Nocera <hadess hadess net>
+
* plparse/totem-pl-parser-podcast.c (check_header),
(decompress_gzip): Fix check_header, -1 isn't a value
for an unsigned int...
diff --git a/plparse/totem-pl-parser-podcast.c b/plparse/totem-pl-parser-podcast.c
index f912889..5f87953 100644
--- a/plparse/totem-pl-parser-podcast.c
+++ b/plparse/totem-pl-parser-podcast.c
@@ -596,7 +596,7 @@ decompress_gzip (char *data, gsize len)
retlen = check_header (data, len);
if (retlen == 0)
- return NULL;
+ return g_strdup (data);
stream.zalloc = (alloc_func)0;
stream.zfree = (free_func)0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]