[vlc-devel] commit: Add missing function to unbreak --disable-sout (Pierre Ynard )

git version control git at videolan.org
Tue Jan 20 16:07:49 CET 2009


vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Tue Jan 20 11:49:23 2009 +0100| [ff004f399d0470ff24dce885b78056d56ca5ae3c] | committer: Rémi Denis-Courmont 

Add missing function to unbreak --disable-sout

Define the new sout_EncoderCreate in missing.c

Signed-off-by: Rémi Denis-Courmont <rdenis at simphalempin.com>
with little modifications

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ff004f399d0470ff24dce885b78056d56ca5ae3c
---

 src/missing.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/missing.c b/src/missing.c
index 06c2b1b..44495be 100644
--- a/src/missing.c
+++ b/src/missing.c
@@ -236,6 +236,13 @@ sout_AnnounceUnRegister (vlc_object_t *obj, session_descriptor_t *d)
     assert (0);
 }
 
+#undef sout_EncoderCreate
+encoder_t *sout_EncoderCreate( vlc_object_t *p_this )
+{
+    msg_Err (p_this, "Encoding support not compiled-in!");
+    return NULL;
+}
+
 void sout_MethodRelease (announce_method_t *method)
 {
     (void)method;




More information about the vlc-devel mailing list