Commit 3cbd368b authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* backport [18994]

Fixed uninitialized value for ADTS stream.
parent fa6bab98
...@@ -192,6 +192,8 @@ static int OpenPacketizer( vlc_object_t *p_this ) ...@@ -192,6 +192,8 @@ static int OpenPacketizer( vlc_object_t *p_this )
{ {
msg_Dbg( p_dec, "no decoder specific info, must be an ADTS stream" ); 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 */ /* We will try to create a AAC Config from adts */
p_dec->fmt_out.i_extra = 0; p_dec->fmt_out.i_extra = 0;
p_dec->fmt_out.p_extra = NULL; p_dec->fmt_out.p_extra = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment