real: Remove dead assignments
authorEdward Hervey <bilboed@bilboed.com>
Thu, 25 Nov 2010 18:21:01 +0000 (19:21 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Thu, 25 Nov 2010 18:21:01 +0000 (19:21 +0100)
gst/real/gstrealaudiodec.c
gst/real/gstrealvideodec.c

index 5950e67..f5aa972 100644 (file)
@@ -383,7 +383,6 @@ gst_real_audio_dec_getcaps (GstPad * pad)
     GValue version = { 0 };
 
     GST_LOG_OBJECT (dec, "constructing caps");
-    res = gst_caps_new_empty ();
 
     g_value_init (&versions, GST_TYPE_LIST);
     g_value_init (&version, G_TYPE_INT);
index ea05d9c..23bef18 100644 (file)
@@ -249,7 +249,6 @@ gst_real_video_dec_getcaps (GstPad * pad)
     GValue version = { 0 };
 
     GST_LOG_OBJECT (dec, "constructing caps");
-    res = gst_caps_new_empty ();
 
     g_value_init (&versions, GST_TYPE_LIST);
     g_value_init (&version, G_TYPE_INT);