Cosmetics.
authorLaurent Aimar <fenrir@videolan.org>
Sun, 16 Nov 2008 01:45:48 +0000 (02:45 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Mon, 17 Nov 2008 19:03:28 +0000 (20:03 +0100)
src/input/es_out_timeshift.c

index 6859295..a67593f 100644 (file)
@@ -625,12 +625,12 @@ static int TsStart( es_out_t *p_out )
     vlc_object_set_destructor( p_ts, TsDestructor );
 
     p_sys->b_delayed = true;
-    if( vlc_thread_create( p_sys->p_thread, "es out timeshift",
+    if( vlc_thread_create( p_ts, "es out timeshift",
                            TsRun, VLC_THREAD_PRIORITY_INPUT, false ) )
     {
         msg_Err( p_sys->p_input, "cannot create input thread" );
 
-        vlc_object_release( p_sys->p_thread );
+        vlc_object_release( p_ts );
 
         p_sys->b_delayed = false;
         return VLC_EGENERIC;