summaryrefslogtreecommitdiff
path: root/playback
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2015-08-27 10:53:43 +0300
committerSebastian Dröge <sebastian@centricular.com>2015-08-27 10:54:52 +0300
commit371f4ec378fd418bec95bc2d165508cd2490aa78 (patch)
tree232b181a0ebc268103acc767df47fc229c9b206e /playback
parent50099a3aa19c1bb26455e1d9b4d9c7e879990ea2 (diff)
playback/player: gst-play: Remove useless variable initializations
They are set to something in the next line anyway.
Diffstat (limited to 'playback')
-rw-r--r--playback/player/gst-play/gst-play.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/playback/player/gst-play/gst-play.c b/playback/player/gst-play/gst-play.c
index 6fa304e..ed7e1dd 100644
--- a/playback/player/gst-play/gst-play.c
+++ b/playback/player/gst-play/gst-play.c
@@ -236,7 +236,7 @@ print_all_stream_info (GstPlayerMediaInfo * media_info)
static void
print_all_video_stream (GstPlayerMediaInfo * media_info)
{
- GList *list = NULL, *l;
+ GList *list, *l;
list = gst_player_get_video_streams (media_info);
if (!list)
@@ -255,7 +255,7 @@ print_all_video_stream (GstPlayerMediaInfo * media_info)
static void
print_all_subtitle_stream (GstPlayerMediaInfo * media_info)
{
- GList *list = NULL, *l;
+ GList *list, *l;
list = gst_player_get_subtitle_streams (media_info);
if (!list)
@@ -274,7 +274,7 @@ print_all_subtitle_stream (GstPlayerMediaInfo * media_info)
static void
print_all_audio_stream (GstPlayerMediaInfo * media_info)
{
- GList *list = NULL, *l;
+ GList *list, *l;
list = gst_player_get_audio_streams (media_info);
if (!list)