summaryrefslogtreecommitdiffstats
path: root/gst/id3demux
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2009-04-24 01:01:53 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-04-24 01:05:40 +0100
commit19117a39fe32d19cdab89f07aefe9b0ffcff2010 (patch)
treeadf7f1e3fb056b2b3a762f686b708d940b99fd18 /gst/id3demux
parent5b86c66e8a1b9b62e0f6be2d97b3984bdc8ec48e (diff)
id3demux: pass the right size value for size of all frames to the parser
Frame data size is tag size adjusted for size of the tag header and footer, not tag size including header and footer.
Diffstat (limited to 'gst/id3demux')
-rw-r--r--gst/id3demux/id3tags.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/id3demux/id3tags.c b/gst/id3demux/id3tags.c
index 0a7a3df9..f2e06344 100644
--- a/gst/id3demux/id3tags.c
+++ b/gst/id3demux/id3tags.c
@@ -159,7 +159,7 @@ id3demux_read_id3v2_tag (GstBuffer * buffer, guint * id3v2_size,
else
work.hdr.frame_data_size = read_size - ID3V2_HDR_SIZE;
- result = id3demux_id3v2_frames_to_tag_list (&work, read_size);
+ result = id3demux_id3v2_frames_to_tag_list (&work, work.hdr.frame_data_size);
*tags = work.tags;