From 72513c69037af22e33ed860a64988bc81a8b193f Mon Sep 17 00:00:00 2001 From: Hyunil Date: Mon, 12 Feb 2018 11:13:03 +0900 Subject: [PATCH] Check return value of __ms_adaptive_sink_http_server_prepare() Change-Id: Id260a37fbedabd6c5bcc1669e566b16e827487d9 Signed-off-by: Hyunil --- src/media_streamer_node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/media_streamer_node.c b/src/media_streamer_node.c index 3be4629..f13824b 100644 --- a/src/media_streamer_node.c +++ b/src/media_streamer_node.c @@ -920,7 +920,7 @@ int __ms_pipeline_prepare(media_streamer_s *ms_streamer) } if (adaptive_sink) - __ms_adaptive_sink_http_server_prepare(ms_streamer, adaptive_sink); + ret = __ms_adaptive_sink_http_server_prepare(ms_streamer, adaptive_sink); if (ret != MEDIA_STREAMER_ERROR_NONE) goto prepare_fail; -- 2.7.4