mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-09 17:05:52 +00:00
ext/taglib/gstid3v2mux.cc: Don't attempt to write a NULL frame into the ID3 tag set when the createFrame method retur...
Original commit message from CVS: * ext/taglib/gstid3v2mux.cc: Don't attempt to write a NULL frame into the ID3 tag set when the createFrame method returned NULL. Fixes: #381857 Patch by: Jonathan Matthew <jonathan at 0kaolin wh9 net >
This commit is contained in:
parent
4f799e000f
commit
93663539f7
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
|
||||||
|
|
||||||
|
* ext/taglib/gstid3v2mux.cc:
|
||||||
|
Don't attempt to write a NULL frame into the ID3 tag set when the
|
||||||
|
createFrame method returned NULL.
|
||||||
|
Fixes: #381857
|
||||||
|
Patch by: Jonathan Matthew <jonathan at 0kaolin wh9 net >
|
||||||
|
|
||||||
2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
|
2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
|
||||||
|
|
||||||
* gst/apetag/gstapedemux.c: (ape_demux_parse_tags):
|
* gst/apetag/gstapedemux.c: (ape_demux_parse_tags):
|
||||||
|
|
|
@ -381,6 +381,7 @@ add_id3v2frame_tag (ID3v2::Tag * id3v2tag, const GstTagList * list,
|
||||||
GST_PTR_FORMAT, version, i, num_tags, GST_BUFFER_SIZE (buf), s);
|
GST_PTR_FORMAT, version, i, num_tags, GST_BUFFER_SIZE (buf), s);
|
||||||
|
|
||||||
frame = factory->createFrame (bytes, (TagLib::uint) version);
|
frame = factory->createFrame (bytes, (TagLib::uint) version);
|
||||||
|
if (frame)
|
||||||
id3v2tag->addFrame (frame);
|
id3v2tag->addFrame (frame);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue