uhm yeah. segfault fix for gst-inspect

Original commit message from CVS:
uhm yeah. segfault fix for gst-inspect
This commit is contained in:
Benjamin Otte 2003-04-08 22:40:07 +00:00
parent eff687498f
commit 8593c57c2f

View file

@ -424,7 +424,7 @@ cdparanoia_get_property (GObject *object, guint prop_id, GValue *value, GParamSp
* So issue a warning.
* See cdparanoia/interface/common-interface.c:FixupTOC
*/
if (src->d->cd_extra)
if (src->d && src->d->cd_extra)
g_warning("DiscID on multisession discs might be broken. Use at own risk.");
g_value_set_string (value, src->discid);
break;