Commit c755d4c7 authored by Francois Cartegnie's avatar Francois Cartegnie

Revert "codec: faad: fail if no extradata"

breaks with IV in first packet as pointed out by funman
This reverts commit ccc273b4.
parent b557f55d
...@@ -130,12 +130,6 @@ static int Open( vlc_object_t *p_this ) ...@@ -130,12 +130,6 @@ static int Open( vlc_object_t *p_this )
return VLC_EGENERIC; return VLC_EGENERIC;
} }
if ( !p_dec->fmt_in.i_extra )
{
msg_Err( p_dec, "cannot initialize faad wihtout codec extradata" );
return VLC_EGENERIC;
}
/* Allocate the memory needed to store the decoder's structure */ /* Allocate the memory needed to store the decoder's structure */
if( ( p_dec->p_sys = p_sys = malloc( sizeof(*p_sys) ) ) == NULL ) if( ( p_dec->p_sys = p_sys = malloc( sizeof(*p_sys) ) ) == NULL )
return VLC_ENOMEM; return VLC_ENOMEM;
......
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