mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
tag: id3v2: 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
a91620dbdf
commit
bd738166a7
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue