--- modules/stream_out/standard.c.orig	2007-08-08 10:25:40.000000000 +0200
+++ modules/stream_out/standard.c	2007-08-10 13:54:47.432025000 +0200
@@ -179,7 +179,7 @@
     msg_Dbg( p_this, "creating `%s/%s://%s'", psz_access, psz_mux, psz_url );
 
     /* ext -> muxer name */
-    if( psz_url && strrchr( psz_url, '.' ) )
+    if( !psz_mux && psz_url && strrchr( psz_url, '.' ) )
     {
         /* by extension */
         static struct { const char *ext; const char *mux; } exttomux[] =
