]> git.sesse.net Git - vlc/commitdiff
codec/flac.c: fix preparse with flac
authorChristophe Mutricy <xtophe@videolan.org>
Sat, 11 Mar 2006 01:29:05 +0000 (01:29 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Sat, 11 Mar 2006 01:29:05 +0000 (01:29 +0000)
modules/codec/flac.c

index 3201d4c5cbba285069bd1c4d498922c9abab5e4e..e2d33a949d93e5b900db6802eaa4f66dc490768c 100644 (file)
@@ -211,7 +211,7 @@ static int OpenDecoder( vlc_object_t *p_this )
     aout_DateSet( &p_sys->end_date, 0 );
     p_sys->i_state = STATE_NOSYNC;
     p_sys->b_stream_info = VLC_FALSE;
-
+    p_sys->p_block=NULL;
     p_sys->bytestream = block_BytestreamInit( p_dec );
 
 #ifdef USE_LIBFLAC