mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
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:
parent
5b86c66e8a
commit
19117a39fe
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue