summaryrefslogtreecommitdiffstats
path: root/libmpdemux/open.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux/open.c')
-rw-r--r--libmpdemux/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/open.c b/libmpdemux/open.c
index 47996c5a54..2e8f55d6de 100644
--- a/libmpdemux/open.c
+++ b/libmpdemux/open.c
@@ -410,7 +410,7 @@ tv_err:
url = url_new(filename);
if(url) {
stream=new_stream(f,STREAMTYPE_STREAM);
- if( streaming_start( stream, *file_format, url )<0){
+ if( streaming_start( stream, file_format, url )<0){
mp_msg(MSGT_OPEN,MSGL_ERR,MSGTR_UnableOpenURL, filename);
url_free(url);
return NULL;