projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afe6ee7
)
tag: id3v2: return ID3TAGS_BROKEN_TAG for unsupported versions
author
Stefan Kost
<ensonic@users.sf.net>
Tue, 22 Feb 2011 13:19:00 +0000
(15:19 +0200)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Sun, 14 Aug 2011 23:10:34 +0000
(
00:10
+0100)
This prevents us for trying to work with a NULL taglist.
gst-libs/gst/tag/id3v2.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/tag/id3v2.c
b/gst-libs/gst/tag/id3v2.c
index
709cda8
..
d201d7c
100644
(file)
--- a/
gst-libs/gst/tag/id3v2.c
+++ b/
gst-libs/gst/tag/id3v2.c
@@
-159,7
+159,7
@@
id3demux_read_id3v2_tag (GstBuffer * buffer, guint * id3v2_size,
GST_WARNING ("ID3v2 tag is from revision 2.%d.%d, "
"but decoder only supports 2.%d.%d. Ignoring as per spec.",
version >> 8, version & 0xff, ID3V2_VERSION >> 8, ID3V2_VERSION & 0xff);
- return ID3TAGS_
READ
_TAG;
+ return ID3TAGS_
BROKEN
_TAG;
}
GST_DEBUG ("ID3v2 header flags: %s %s %s %s",