Commit 3a68b7ea authored by Eric Petit's avatar Eric Petit

vlc_threads_func.h : skip a useless BeOS warning

faad/decoder.c : minor compile fix
parent cdf5edf7
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* This header provides a portable threads implementation. * This header provides a portable threads implementation.
***************************************************************************** *****************************************************************************
* Copyright (C) 1999, 2002 VideoLAN * Copyright (C) 1999, 2002 VideoLAN
* $Id: vlc_threads_funcs.h,v 1.6 2002/10/15 08:35:24 sam Exp $ * $Id: vlc_threads_funcs.h,v 1.7 2002/10/27 17:23:17 titer Exp $
* *
* Authors: Jean-Marc Dressler <polux@via.ecp.fr> * Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@via.ecp.fr> * Samuel Hocevar <sam@via.ecp.fr>
...@@ -315,6 +315,7 @@ static inline int __vlc_cond_signal( char * psz_file, int i_line, ...@@ -315,6 +315,7 @@ static inline int __vlc_cond_signal( char * psz_file, int i_line,
return 0; return 0;
} }
} }
i_result = 0;
} }
#endif #endif
...@@ -450,6 +451,7 @@ static inline int __vlc_cond_broadcast( char * psz_file, int i_line, ...@@ -450,6 +451,7 @@ static inline int __vlc_cond_broadcast( char * psz_file, int i_line,
return 0; return 0;
} }
} }
i_result = 0;
} }
#endif #endif
......
...@@ -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.8 2002/10/27 16:58:13 gbazin Exp $ * $Id: decoder.c,v 1.9 2002/10/27 17:23:17 titer Exp $
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* *
...@@ -172,7 +172,7 @@ static inline void __GetFrame( adec_thread_t *p_adec ) ...@@ -172,7 +172,7 @@ static inline void __GetFrame( adec_thread_t *p_adec )
input_ExtractPES( p_adec->p_fifo, &p_pes ); input_ExtractPES( p_adec->p_fifo, &p_pes );
if( !p_pes ) if( !p_pes )
{ {
p_vdec->p_framedata = NULL; p_adec->p_framedata = NULL;
return; return;
} }
} }
...@@ -212,7 +212,7 @@ static inline void __GetFrame( adec_thread_t *p_adec ) ...@@ -212,7 +212,7 @@ static inline void __GetFrame( adec_thread_t *p_adec )
static inline void __NextFrame( adec_thread_t *p_adec ) static inline void __NextFrame( adec_thread_t *p_adec )
{ {
input_ExtractPES( p_vdec->p_fifo, NULL ); input_ExtractPES( p_adec->p_fifo, 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