[vlc-commits] stream: add VLC_USED to stream_MimeType()
Rémi Denis-Courmont
git at videolan.org
Tue Apr 18 20:56:06 CEST 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Apr 17 23:01:57 2017 +0300| [5556387d88df66a1b2eaa14dad7fdc0f9253708e] | committer: Rémi Denis-Courmont
stream: add VLC_USED to stream_MimeType()
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5556387d88df66a1b2eaa14dad7fdc0f9253708e
---
include/vlc_stream.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/vlc_stream.h b/include/vlc_stream.h
index e5701722c0..6960260291 100644
--- a/include/vlc_stream.h
+++ b/include/vlc_stream.h
@@ -333,6 +333,7 @@ static inline char *stream_ContentType( stream_t *s )
* \warning the returned resource is to be freed by the caller
* \return the mime-type, or `NULL` if unknown
**/
+VLC_USED
static inline char *stream_MimeType( stream_t *s )
{
char* mime_type = stream_ContentType( s );
More information about the vlc-commits
mailing list