]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7952 mod_opus: remove duplicate test/set of sprop-maxcapturerate
authorNorm Brandinger <n.brandinger@gmail.com>
Mon, 10 Aug 2015 21:47:09 +0000 (16:47 -0500)
committerNorm Brandinger <n.brandinger@gmail.com>
Mon, 10 Aug 2015 22:10:34 +0000 (17:10 -0500)
src/mod/codecs/mod_opus/mod_opus.c

index 929793aa0fc93af38e14038786c057f496e7f885..9a3469b6ff9be2cef876af45f7dbc825b8d7ae1d 100644 (file)
@@ -151,10 +151,6 @@ static switch_status_t switch_opus_fmtp_parse(const char *fmtp, switch_codec_fmt
                                                        codec_settings->cbr = switch_true(arg);
                                                }
  
-                                               if (!strcasecmp(data, "sprop-maxcapturerate")) {
-                                                       codec_settings->sprop_maxcapturerate = atoi(arg);
-                                               }
-                        
                                                if (!strcasecmp(data, "maxptime")) {
                                                        codec_settings->maxptime = atoi(arg);
                                                }