CID:1301106 fix logically dead code
This commit is contained in:
parent
e46ae6c77d
commit
47f88e920d
|
@ -344,7 +344,7 @@ RTMP_INVOKE_FUNCTION(rtmp_i_fcSubscribe)
|
||||||
status = rtmp_i_receiveaudio(rsession, state, amfnumber, transaction_id, ac, av);
|
status = rtmp_i_receiveaudio(rsession, state, amfnumber, transaction_id, ac, av);
|
||||||
if (status != SWITCH_STATUS_SUCCESS) return status;
|
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;
|
if (status != SWITCH_STATUS_SUCCESS) return status;
|
||||||
|
|
||||||
amf0_data_free(av[2]);
|
amf0_data_free(av[2]);
|
||||||
|
|
Loading…
Reference in New Issue