]> git.sesse.net Git - vlc/blobdiff - modules/control/http/http.c
s/vlc_object_yield/vlc_object_release/
[vlc] / modules / control / http / http.c
index d7c7f1c4740401c5820af71dd4826e736fac1599..587ca1df7a894e23cdff7a12a40e8fd7eb1c2ff8 100644 (file)
@@ -387,7 +387,7 @@ static void ParseExecute( httpd_file_sys_t *p_args, char *p_buffer,
     p_sys->p_input = p_sys->p_playlist->p_input;
     if( p_sys->p_input )
     {
-        vlc_object_yield( p_sys->p_input );
+        vlc_object_hold( p_sys->p_input );
         var_Get( p_sys->p_input, "position", &val);
         sprintf( position, "%d" , (int)((val.f_float) * 100.0));
         var_Get( p_sys->p_input, "time", &val);