]> git.sesse.net Git - vlc/blobdiff - src/input/input.c
Some platforms may have macros optind optarg and optopt so we don't...
[vlc] / src / input / input.c
index 6e4ad9ba36d52b473affa5612dbac3d274d84874..bf1dbccf45847c362bdb3888a5ae9abbe1765053 100644 (file)
@@ -2135,7 +2135,7 @@ static bool Control( input_thread_t *p_input,
 
             if( bookmark.i_time_offset < 0 && bookmark.i_byte_offset < 0 )
             {
-                msg_Err( p_input, "invalid bookmark %d", val.i_int );
+                msg_Err( p_input, "invalid bookmark %"PRId64, val.i_int );
                 break;
             }
 
@@ -3167,7 +3167,7 @@ static void SubtitleAdd( input_thread_t *p_input, char *psz_subtitle, bool b_for
         free( psz_path );
     }
 
-    char *url = make_URI( psz_subtitle );
+    char *url = make_URI( psz_subtitle, "file" );
 
     var_Change( p_input, "spu-es", VLC_VAR_CHOICESCOUNT, &count, NULL );