From 47f88e920d78b12474bef00d3d66b4f8c66a94f8 Mon Sep 17 00:00:00 2001 From: Seven Du Date: Fri, 29 May 2015 12:10:29 +0800 Subject: [PATCH] CID:1301106 fix logically dead code --- src/mod/endpoints/mod_rtmp/rtmp_sig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_rtmp/rtmp_sig.c b/src/mod/endpoints/mod_rtmp/rtmp_sig.c index 4cba13aabb..a526d8e1ea 100644 --- a/src/mod/endpoints/mod_rtmp/rtmp_sig.c +++ b/src/mod/endpoints/mod_rtmp/rtmp_sig.c @@ -344,7 +344,7 @@ RTMP_INVOKE_FUNCTION(rtmp_i_fcSubscribe) status = rtmp_i_receiveaudio(rsession, state, amfnumber, transaction_id, ac, av); if (status != SWITCH_STATUS_SUCCESS) return status; - rtmp_i_receivevideo(rsession, state, amfnumber, transaction_id, ac, av); + status = rtmp_i_receivevideo(rsession, state, amfnumber, transaction_id, ac, av); if (status != SWITCH_STATUS_SUCCESS) return status; amf0_data_free(av[2]);