[vlc-devel] commit: Fix ES out failure handling (CID 124) ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sun Jun 1 10:51:48 CEST 2008
vlc | branch: 0.8.6-bugfix | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Jun 1 11:53:21 2008 +0300| [1e77ff8b378902a12dda2a7134e79a9609f67ccb]
Fix ES out failure handling (CID 124)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1e77ff8b378902a12dda2a7134e79a9609f67ccb
---
src/input/input.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/input/input.c b/src/input/input.c
index a27a47e..72bd5c7 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -738,6 +738,9 @@ static int Init( input_thread_t * p_input, vlc_bool_t b_quick )
/* Create es out */
p_input->p_es_out = input_EsOutNew( p_input );
+ if( !p_input->p_es_out )
+ goto error;
+
es_out_Control( p_input->p_es_out, ES_OUT_SET_ACTIVE, VLC_FALSE );
es_out_Control( p_input->p_es_out, ES_OUT_SET_MODE, ES_OUT_MODE_NONE );
More information about the vlc-devel
mailing list