[vlc-commits] mosaic_bridge: don't use inline for callbacks
Steve Lhomme
git at videolan.org
Mon Nov 4 12:14:55 CET 2019
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Oct 28 12:05:27 2019 +0100| [e4d05a30306c724e0ab42449bc78bc9c8e2f30f6] | committer: Steve Lhomme
mosaic_bridge: don't use inline for callbacks
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e4d05a30306c724e0ab42449bc78bc9c8e2f30f6
---
modules/stream_out/mosaic_bridge.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/stream_out/mosaic_bridge.c b/modules/stream_out/mosaic_bridge.c
index 2b0c4f05e9..dce756cb83 100644
--- a/modules/stream_out/mosaic_bridge.c
+++ b/modules/stream_out/mosaic_bridge.c
@@ -82,8 +82,8 @@ static void Del( sout_stream_t *, void * );
static int Send( sout_stream_t *, void *, block_t * );
static void decoder_queue_video( decoder_t *p_dec, picture_t *p_pic );
-inline static int video_update_format_decoder( decoder_t *p_dec, vlc_video_context * );
-inline static picture_t *video_new_buffer_filter( filter_t * );
+static int video_update_format_decoder( decoder_t *p_dec, vlc_video_context * );
+static picture_t *video_new_buffer_filter( filter_t * );
static int HeightCallback( vlc_object_t *, char const *,
vlc_value_t, vlc_value_t, void * );
@@ -568,7 +568,7 @@ static int Send( sout_stream_t *p_stream, void *id, block_t *p_buffer )
return ret == VLCDEC_SUCCESS ? VLC_SUCCESS : VLC_EGENERIC;
}
-inline static int video_update_format_decoder( decoder_t *p_dec, vlc_video_context *vctx )
+static int video_update_format_decoder( decoder_t *p_dec, vlc_video_context *vctx )
{
struct decoder_owner *p_owner = dec_get_owner( p_dec );
sout_stream_sys_t *p_sys = p_owner->p_stream->p_sys;
@@ -593,7 +593,7 @@ inline static int video_update_format_decoder( decoder_t *p_dec, vlc_video_conte
return 0;
}
-inline static picture_t *video_new_buffer_filter( filter_t *p_filter )
+static picture_t *video_new_buffer_filter( filter_t *p_filter )
{
return picture_NewFromFormat( &p_filter->fmt_out.video );
}
More information about the vlc-commits
mailing list