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:
8b84e06
)
Changed a >= test to a > on the input buffer size in gst_tag_list_from_vorbiscomment_...
author
Christophe Fergeau
<teuf@gnome.org>
Mon, 8 Dec 2003 22:07:57 +0000
(22:07 +0000)
committer
Christophe Fergeau
<teuf@gnome.org>
Mon, 8 Dec 2003 22:07:57 +0000
(22:07 +0000)
Original commit message from CVS:
Changed a >= test to a > on the input buffer size in gst_tag_list_from_vorbiscomment_buffer. This was preventing the parsing of vorbiscomments not ending with a sync byte (which seems to happen in flac files)
gst/tags/gstvorbistag.c
patch
|
blob
|
history
diff --git
a/gst/tags/gstvorbistag.c
b/gst/tags/gstvorbistag.c
index
6c31975
..
41e4a3c
100644
(file)
--- a/
gst/tags/gstvorbistag.c
+++ b/
gst/tags/gstvorbistag.c
@@
-328,7
+328,7
@@
gst_tag_list_from_vorbiscomment_buffer (const GstBuffer *buffer, const guint8 *i
cur_size = GUINT32_FROM_LE (*((guint32 *) data)); \
data += 4; \
size -= 4; \
- if (cur_size >
= size) goto error;
\
+ if (cur_size >
size) goto error;
\
cur = data; \
}G_STMT_END
gchar *cur, *value;