[vlc-commits] visual: remove abusive VLC_USED qualifier

Rémi Denis-Courmont git at videolan.org
Sun Mar 24 17:53:12 CET 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Mar 24 18:33:03 2013 +0200| [2111fffacb861ce16cef9e2c4329d2260508e8fa] | committer: Rémi Denis-Courmont

visual: remove abusive VLC_USED qualifier

Confusingly enough, aout_filter_RequestVout() is also used to release
the vout. In that case, ignoring the return value is perfectly fine.

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

 include/vlc_aout.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/vlc_aout.h b/include/vlc_aout.h
index 73e775a..4285958 100644
--- a/include/vlc_aout.h
+++ b/include/vlc_aout.h
@@ -325,7 +325,7 @@ static inline int aout_ChannelsRestart (vlc_object_t *obj, const char *varname,
 
 
 /* */
-VLC_API vout_thread_t * aout_filter_RequestVout( filter_t *, vout_thread_t *p_vout, video_format_t *p_fmt ) VLC_USED;
+VLC_API vout_thread_t * aout_filter_RequestVout( filter_t *, vout_thread_t *p_vout, video_format_t *p_fmt );
 
 /** Audio output buffer FIFO */
 struct aout_fifo_t



More information about the vlc-commits mailing list