summaryrefslogtreecommitdiffstats
path: root/multimedia/nautilus-media/files/patch-media-info_media-info.c
blob: e97ea45a788ffc96a7a4c2df9964e96093495019 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- media-info/media-info.c.orig    Tue Aug 12 15:08:26 2003
+++ media-info/media-info.c Tue Aug 12 15:08:53 2003
@@ -258,10 +258,11 @@
 gboolean
 gst_media_info_read_idler (GstMediaInfo *info, GstMediaInfoStream **streamp)
 {
+  GstMediaInfoPriv *priv;
   /* if it's NULL then we're sure something went wrong higher up) */
   if (info == NULL) return FALSE;
 
-  GstMediaInfoPriv *priv = info->priv;
+  priv = info->priv;
 
   g_assert (streamp != NULL);
   switch (priv->state)