Commit 90a65e1f authored by Laurent Aimar's avatar Laurent Aimar

* faad: fixed a segfault when faad initialisation failed.(anyway it

doesn't solve the real problem).
parent 20990b34
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* decoder.c: AAC decoder using libfaad2 * decoder.c: AAC decoder using libfaad2
***************************************************************************** *****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN * Copyright (C) 2001, 2002 VideoLAN
* $Id: decoder.c,v 1.17 2003/01/07 21:49:01 fenrir Exp $ * $Id: decoder.c,v 1.18 2003/01/08 10:43:27 fenrir Exp $
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* *
...@@ -282,7 +282,7 @@ static int InitThread( adec_thread_t * p_adec ) ...@@ -282,7 +282,7 @@ static int InitThread( adec_thread_t * p_adec )
{ {
msg_Err( p_adec->p_fifo, msg_Err( p_adec->p_fifo,
"failed to initialize faad" ); "failed to initialize faad" );
faacDecClose( p_adec->p_handle ); //faacDecClose( p_adec->p_handle );
return( -1 ); return( -1 );
} }
msg_Dbg( p_adec->p_fifo, msg_Dbg( p_adec->p_fifo,
......
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