[vlc-commits] Revert "codec: faad: fail if no extradata"
Francois Cartegnie
git at videolan.org
Fri Jun 6 21:44:50 CEST 2014
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Jun 6 21:43:01 2014 +0200| [c755d4c7ad8e9783d62e7c1a9fcd4015419f3bef] | committer: Francois Cartegnie
Revert "codec: faad: fail if no extradata"
breaks with IV in first packet as pointed out by funman
This reverts commit ccc273b48cef823e1536d80904c1e080cac4f1aa.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c755d4c7ad8e9783d62e7c1a9fcd4015419f3bef
---
modules/codec/faad.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/modules/codec/faad.c b/modules/codec/faad.c
index aaf978a..9aaaed6 100644
--- a/modules/codec/faad.c
+++ b/modules/codec/faad.c
@@ -130,12 +130,6 @@ static int Open( vlc_object_t *p_this )
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 */
if( ( p_dec->p_sys = p_sys = malloc( sizeof(*p_sys) ) ) == NULL )
return VLC_ENOMEM;
More information about the vlc-commits
mailing list