whoops, this shouldn'tvegonein
authorThomas Vander Stichele <thomas@apestaart.org>
Tue, 27 Aug 2002 17:55:15 +0000 (17:55 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Tue, 27 Aug 2002 17:55:15 +0000 (17:55 +0000)
Original commit message from CVS:
whoops, this shouldn'tvegonein

gst/avi/gstavidemux.c

index e0cf582..d9ec205 100644 (file)
@@ -647,7 +647,7 @@ gst_avi_demux_parse_index (GstAviDemux *avi_demux,
     GstEvent *event;
   
     gst_bytestream_get_status (avi_demux->bs, &remaining, &event);
-    gst_data_unref (GST_DATA (event));
+    gst_event_unref (event);
 
     got_bytes = gst_bytestream_read (avi_demux->bs, &buf, 8);
   }