[vlc-devel] commit: Compilation fix when using --disable-sout. (Laurent Aimar )
git version control
git at videolan.org
Wed Aug 27 01:22:49 CEST 2008
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Wed Aug 27 01:16:11 2008 +0200| [0e5207a834a361f2e9950c9c33e409640c8a083a] | committer: Laurent Aimar
Compilation fix when using --disable-sout.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0e5207a834a361f2e9950c9c33e409640c8a083a
---
src/input/es_out.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/input/es_out.c b/src/input/es_out.c
index 59e455e..fab5faf 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -412,7 +412,9 @@ int input_EsOutSetRecord( es_out_t *out, bool b_record )
if( !psz_sout )
return VLC_EGENERIC;
+#ifdef ENABLE_SOUT
p_sys->p_sout_record = sout_NewInstance( p_input, psz_sout );
+#endif
free( psz_sout );
if( !p_sys->p_sout_record )
@@ -440,7 +442,9 @@ int input_EsOutSetRecord( es_out_t *out, bool b_record )
input_DecoderDelete( p_es->p_dec_record );
p_es->p_dec_record = NULL;
}
+#ifdef ENABLE_SOUT
sout_DeleteInstance( p_sys->p_sout_record );
+#endif
p_sys->p_sout_record = NULL;
}
More information about the vlc-devel
mailing list