]> git.sesse.net Git - vlc/blobdiff - src/missing.c
vout: fix memory leak in ThreadReinit() in case of similar video format
[vlc] / src / missing.c
index 071ce988b8e865866fe803f00f839566c3af74ce..1041ac00d5c554a86b133ae4a3446af778957ad0 100644 (file)
@@ -1,7 +1,16 @@
 /*****************************************************************************
  * missing.c: missing libvlccore symbols
  *****************************************************************************
- * Copyright (C) 2008 Rémi Denis-Courmont
+ * Copyright (C) 2008-2011 Rémi Denis-Courmont
+ * Copyright (C) 2009-2014 VLC authors and VideoLAN
+ * $Id$
+ *
+ * Authors: Rémi Denis-Courmont <rem # videolan : org>
+ *          Pierre Ynard <linkfanel # yahoo fr>
+ *          Toralf Niebuhr <gmthor85 # aim com>
+ *          Felix Paul Kühne <fkuehne # videolan org>
+ *          Jean-Paul Saman <jpsaman # videolan org>
+ *          Antoine Cellerier <dionoea # videolan org>
  *
  * This program is free software; you can redistribute it and/or modify it
  * under the terms of the GNU Lesser General Public License as published by
@@ -192,23 +201,28 @@ char *sdp_AddMedia (char **sdp, const char *type, const char *protocol,
                     const char *ptname, unsigned clockrate, unsigned channels,
                     const char *fmtp)
 {
+    VLC_UNUSED (sdp); VLC_UNUSED (type); VLC_UNUSED (protocol);
+    VLC_UNUSED (dport); VLC_UNUSED (pt); VLC_UNUSED (bw_indep);
+    VLC_UNUSED (bw); VLC_UNUSED (ptname); VLC_UNUSED (clockrate);
+    VLC_UNUSED (channels); VLC_UNUSED (fmtp);
     assert (*sdp == NULL);
-    return NULL;
 }
 
 char *sdp_AddAttribute (char **sdp, const char *name, const char *fmt, ...)
 {
+    VLC_UNUSED (sdp); VLC_UNUSED (name); VLC_UNUSED (fmt);
     assert (*sdp == NULL);
-    return NULL;
 }
 
 int sout_AccessOutControl (sout_access_out_t *out, int query, ...)
 {
+    VLC_UNUSED (out); VLC_UNUSED (query);
     assert (0);
 }
 
 void sout_AccessOutDelete (sout_access_out_t *out)
 {
+    VLC_UNUSED (out);
     assert (0);
 }
 
@@ -216,22 +230,26 @@ void sout_AccessOutDelete (sout_access_out_t *out)
 sout_access_out_t *sout_AccessOutNew (vlc_object_t *obj,
                                       const char *access, const char *name)
 {
+    VLC_UNUSED (access); VLC_UNUSED (name);
     msg_Err (obj, "Output support not compiled-in!");
     return NULL;
 }
 
 ssize_t sout_AccessOutRead (sout_access_out_t *out, block_t *block)
 {
+    VLC_UNUSED (out); VLC_UNUSED (block);
     assert (0);
 }
 
 int sout_AccessOutSeek (sout_access_out_t *out, off_t offset)
 {
+    VLC_UNUSED (out); VLC_UNUSED (offset);
     assert (0);
 }
 
 ssize_t sout_AccessOutWrite (sout_access_out_t *out, block_t *block)
 {
+    VLC_UNUSED (out); VLC_UNUSED (block);
     assert (0);
 }
 
@@ -240,13 +258,15 @@ session_descriptor_t *sout_AnnounceRegisterSDP (vlc_object_t *obj,
                                                 const char *sdp,
                                                 const char *dst)
 {
+    VLC_UNUSED (sdp); VLC_UNUSED (dst);
     msg_Err (obj, "SDP export not compiled-in!");
     return NULL;
 }
 
 #undef sout_AnnounceUnRegister
-sout_AnnounceUnRegister (vlc_object_t *obj, session_descriptor_t *d)
+void sout_AnnounceUnRegister (vlc_object_t *obj, session_descriptor_t *d)
 {
+    VLC_UNUSED (obj); VLC_UNUSED (d);
     assert (0);
 }
 
@@ -259,37 +279,44 @@ encoder_t *sout_EncoderCreate( vlc_object_t *p_this )
 
 sout_input_t *sout_MuxAddStream (sout_mux_t *mux, es_format_t *fmt)
 {
+    VLC_UNUSED (mux); VLC_UNUSED (fmt);
     assert (0);
 }
 
 void sout_MuxDelete (sout_mux_t *mux)
 {
+    VLC_UNUSED (mux);
     assert (0);
 }
 
 void sout_MuxDeleteStream (sout_mux_t *mux, sout_input_t *input)
 {
+    VLC_UNUSED (mux); VLC_UNUSED (input);
     assert (0);
 }
 
-int sout_MuxGetStream (sout_mux_t *p_mux, int i_blocks, mtime_t *pi_dts)
+int sout_MuxGetStream (sout_mux_t *p_mux, unsigned int i_blocks, mtime_t *pi_dts)
 {
+    VLC_UNUSED (p_mux); VLC_UNUSED (i_blocks); VLC_UNUSED (pi_dts);
     assert (0);
 }
 
 sout_mux_t *sout_MuxNew (sout_instance_t *instance, const char *mux,
                          sout_access_out_t *out)
 {
+    VLC_UNUSED (instance); VLC_UNUSED (mux); VLC_UNUSED (out);
     assert (0);
 }
 
 int sout_MuxSendBuffer (sout_mux_t *mux, sout_input_t *input, block_t *block)
 {
+    VLC_UNUSED (mux); VLC_UNUSED (input); VLC_UNUSED (block);
     assert (0);
 }
 
 void sout_StreamChainDelete (sout_stream_t *p_first, sout_stream_t *p_last)
 {
+    VLC_UNUSED (p_first); VLC_UNUSED (p_last);
     assert (0);
 }
 
@@ -297,6 +324,8 @@ sout_stream_t *sout_StreamChainNew (sout_instance_t *p_sout, char *psz_chain,
                                     sout_stream_t *p_next,
                                     sout_stream_t **pp_last)
 {
+    VLC_UNUSED (p_sout); VLC_UNUSED (psz_chain); VLC_UNUSED (p_next);
+    VLC_UNUSED (pp_last);
     assert (0);
 }
 
@@ -304,6 +333,8 @@ char *vlc_sdp_Start (vlc_object_t *obj, const char *cfg,
                      const struct sockaddr *src, size_t srclen,
                      const struct sockaddr *addr, size_t addrlen)
 {
+    VLC_UNUSED (obj); VLC_UNUSED (cfg); VLC_UNUSED (src); VLC_UNUSED (srclen);
+    VLC_UNUSED (addr); VLC_UNUSED (addrlen);
     return NULL;
 }
 #endif /* !ENABLE_SOUT */
@@ -313,6 +344,7 @@ char *vlc_sdp_Start (vlc_object_t *obj, const char *cfg,
 
 int vlm_Control (vlm_t *vlm, int query, ...)
 {
+    VLC_UNUSED (query);
     VLC_UNUSED (vlm);
     assert (0);
 }