From 5ae1ba0530c1db3994eecb297c918fdcb9854817 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Fri, 20 Oct 2017 19:21:41 +0200 Subject: [PATCH] rmove unused code --- libarmbox/playback_gst.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libarmbox/playback_gst.cpp b/libarmbox/playback_gst.cpp index 84baf20..b8cd307 100644 --- a/libarmbox/playback_gst.cpp +++ b/libarmbox/playback_gst.cpp @@ -462,7 +462,6 @@ bool cPlayback::Start(char *filename, int /*vpid*/, int /*vtype*/, int /*apid*/, mAudioStream = 0; //create playback path - char file[400] = {""}; bool isHTTP = false; if(!strncmp("http://", filename, 7)) @@ -493,10 +492,6 @@ bool cPlayback::Start(char *filename, int /*vpid*/, int /*vtype*/, int /*apid*/, { isHTTP = true; } - else - strcat(file, "file://"); - - strcat(file, filename); if (isHTTP) uri = g_uri_escape_string(filename, G_URI_RESERVED_CHARS_GENERIC_DELIMITERS, true);