]> git.sesse.net Git - vlc/commitdiff
a52tospdif.c: fix regression in recent changes
authorSigmund Augdal Helberg <sigmunau@videolan.org>
Sun, 4 Dec 2005 17:10:22 +0000 (17:10 +0000)
committerSigmund Augdal Helberg <sigmunau@videolan.org>
Sun, 4 Dec 2005 17:10:22 +0000 (17:10 +0000)
modules/audio_filter/converter/a52tospdif.c

index b9bbd1278f116002e8a9492ecd6d7138c4f049e3..b31a986da3339dc6ea70bdfdc7b4ed72a8f15f2f 100644 (file)
@@ -122,6 +122,8 @@ static void DoWork( aout_instance_t * p_aout, aout_filter_t * p_filter,
         }
 #endif
     }
+    p_filter->p_vlc->pf_memset( p_out + 8 + i_frame_size * 2, 0,
+                                AOUT_SPDIF_SIZE - i_frame_size * 2 - 8 );
 
     p_out_buf->i_nb_samples = p_in_buf->i_nb_samples;
     p_out_buf->i_nb_bytes = AOUT_SPDIF_SIZE;