mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 20:50:41 +00:00
[core] scan-build: Value stored to 'pass_fmtp' is never read - switch_core_media_gen_local_sdp()
This commit is contained in:
parent
e6c52efe64
commit
87ab38d281
@ -10985,7 +10985,6 @@ SWITCH_DECLARE(void) switch_core_media_gen_local_sdp(switch_core_session_t *sess
|
|||||||
|
|
||||||
|
|
||||||
if (v_engine->codec_negotiated) {
|
if (v_engine->codec_negotiated) {
|
||||||
const char *of;
|
|
||||||
payload_map_t *pmap;
|
payload_map_t *pmap;
|
||||||
|
|
||||||
//if (!strcasecmp(v_engine->cur_payload_map->rm_encoding, "VP8")) {
|
//if (!strcasecmp(v_engine->cur_payload_map->rm_encoding, "VP8")) {
|
||||||
@ -11007,12 +11006,6 @@ SWITCH_DECLARE(void) switch_core_media_gen_local_sdp(switch_core_session_t *sess
|
|||||||
|
|
||||||
pass_fmtp = NULL;
|
pass_fmtp = NULL;
|
||||||
|
|
||||||
if (switch_channel_get_partner_uuid(session->channel)) {
|
|
||||||
if ((of = switch_channel_get_variable_partner(session->channel, "rtp_video_fmtp"))) {
|
|
||||||
pass_fmtp = of;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (ov_fmtp) {
|
if (ov_fmtp) {
|
||||||
pass_fmtp = ov_fmtp;
|
pass_fmtp = ov_fmtp;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user