]> git.sesse.net Git - vlc/commitdiff
Fixed uninitialized value for ADTS stream.
authorLaurent Aimar <fenrir@videolan.org>
Sun, 25 Feb 2007 11:42:23 +0000 (11:42 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Sun, 25 Feb 2007 11:42:23 +0000 (11:42 +0000)
modules/packetizer/mpeg4audio.c

index f1128f72e1e77fcc96fd8afa87027150c75d37f4..9f38f70d2fd230c3804384008eefe594b9ea957f 100644 (file)
@@ -193,6 +193,8 @@ static int OpenPacketizer( vlc_object_t *p_this )
     {
         msg_Dbg( p_dec, "no decoder specific info, must be an ADTS stream" );
 
+        aout_DateInit( &p_sys->end_date, p_dec->fmt_in.audio.i_rate );
+
         /* We will try to create a AAC Config from adts */
         p_dec->fmt_out.i_extra = 0;
         p_dec->fmt_out.p_extra = NULL;