]> git.sesse.net Git - vlc/commitdiff
modules/audio_filter/converter/dtstospdif.c: We need a starting date. Fix a typo...
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 22 Dec 2007 00:34:04 +0000 (00:34 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 22 Dec 2007 00:34:04 +0000 (00:34 +0000)
modules/audio_filter/converter/dtstospdif.c

index e5dc282d2d6c2370b1b9f4701330870dadd6d5e7..cee4e7eb1dd49dd705e990488ca83469e0c2baa8 100644 (file)
@@ -139,7 +139,7 @@ static void DoWork( aout_instance_t * p_aout, aout_filter_t * p_filter,
 
     if( p_filter->p_sys->i_frames < 3 )
     {
-        if( !p_filter->p_sys->i_frames )
+        if( p_filter->p_sys->i_frames == 1 )
             /* We'll need the starting date */
             p_filter->p_sys->start_date = p_in_buf->start_date;