[vlc-devel] commit: Fixed input clean up in case of sout error. (Laurent Aimar )
git version control
git at videolan.org
Sun Jan 31 01:41:56 CET 2010
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Jan 31 01:13:05 2010 +0100| [2baa89853ca58d5c5b7e04fc7adcd6cf31d5a01b] | committer: Laurent Aimar
Fixed input clean up in case of sout error.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2baa89853ca58d5c5b7e04fc7adcd6cf31d5a01b
---
src/input/input.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/src/input/input.c b/src/input/input.c
index a8c96b5..6276c10 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -1206,7 +1206,7 @@ static int Init( input_thread_t * p_input )
InitStatistics( p_input );
#ifdef ENABLE_SOUT
if( InitSout( p_input ) )
- goto error_stats;
+ goto error;
#endif
/* Create es out */
@@ -1299,9 +1299,6 @@ error:
input_resource_SetInput( p_input->p->p_resource, NULL );
}
-#ifdef ENABLE_SOUT
-error_stats:
-#endif
if( !p_input->b_preparsing && libvlc_stats( p_input ) )
{
#define EXIT_COUNTER( c ) do { if( p_input->p->counters.p_##c ) \
More information about the vlc-devel
mailing list