]> git.sesse.net Git - vlc/blobdiff - src/stream_output/stream_output.c
sout: fix typo.
[vlc] / src / stream_output / stream_output.c
index cabc9cdd25032843fb827d7e6088edaa4e59522e..b1045d2e463f10ad793ee5f73c8c287b9e6c03f7 100644 (file)
@@ -1001,7 +1001,7 @@ rtp:
     if (psz_chain && b_sout_display)
     {
         char *tmp;
-        if (asprintf (&tmp, "duplicate{dst=display,dst=%s}", tmp) == -1)
+        if (asprintf (&tmp, "duplicate{dst=display,dst=%s}", psz_chain) == -1)
             tmp = NULL;
         free (psz_chain);
         psz_chain = tmp;