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.
This commit is contained in:
Tim-Philipp Müller 2009-04-24 01:01:53 +01:00
parent 5b86c66e8a
commit 19117a39fe

View file

@ -159,7 +159,7 @@ id3demux_read_id3v2_tag (GstBuffer * buffer, guint * id3v2_size,
else else
work.hdr.frame_data_size = read_size - ID3V2_HDR_SIZE; 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; *tags = work.tags;