diff options
-rw-r--r-- | avmedia/source/gstreamer/gstplayer.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/avmedia/source/gstreamer/gstplayer.cxx b/avmedia/source/gstreamer/gstplayer.cxx index 66a718a9aa5d..23e2510eee11 100644 --- a/avmedia/source/gstreamer/gstplayer.cxx +++ b/avmedia/source/gstreamer/gstplayer.cxx @@ -73,7 +73,8 @@ Player::Player( const uno::Reference< lang::XMultiServiceFactory >& rxMgr ) : { // Initialize GStreamer library int argc = 1; - char *arguments[] = { "libreoffice" }; + char name[] = "libreoffice"; + char *arguments[] = { name }; char** argv = arguments; GError* pError = NULL; |