]> git.sesse.net Git - vlc/commitdiff
- Fix unitialized variable in demux control helper
authorRémi Denis-Courmont <rem@videolan.org>
Thu, 10 Mar 2005 11:19:29 +0000 (11:19 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Thu, 10 Mar 2005 11:19:29 +0000 (11:19 +0000)
There's still a segfault somewhere (occurs after many seeks but I can't reproduce it with a debugger)

modules/demux/voc.c

index b087c8ede85268bda755a6cd8cc2f9b2fce20e09..dd8f733619ed7b918fabef5a57e8d71deaf6a8e0 100644 (file)
@@ -121,6 +121,8 @@ static int Open( vlc_object_t * p_this )
     date_Init( &p_sys->pts, 1, 1 );
     date_Set( &p_sys->pts, 1 );
 
+    es_format_Init( &p_sys->fmt, AUDIO_ES, 0 );
+
     return VLC_SUCCESS;
 }