Commit 15649903 authored by Stefan Kost's avatar Stefan Kost
Browse files

gst/avi/gstavimux.c: Don't segfault on string typed tags being NULL. Fixes #560155.

Original commit message from CVS:
* gst/avi/gstavimux.c:
Don't segfault on string typed tags being NULL. Fixes #560155.
parent e8a21443
2008-11-11 Stefan Kost <ensonic@users.sf.net>
* gst/avi/gstavimux.c:
Don't segfault on string typed tags being NULL. Fixes #560155.
2008-11-10 Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
* gst/matroska/matroska-mux.c: (aac_codec_data_to_codec_id),
......
......@@ -930,7 +930,7 @@ gst_avi_mux_write_tag (const GstTagList * list, const gchar * tag,
for (n = 0; rifftags[n].fcc != 0; n++) {
if (!strcmp (rifftags[n].tag, tag) &&
gst_tag_list_get_string (list, tag, &str)) {
gst_tag_list_get_string (list, tag, &str) && str) {
len = strlen (str);
plen = len + 1;
if (plen & 1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment