summaryrefslogtreecommitdiff
path: root/codecs/ex_alaw.h
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2014-10-22 21:27:23 +0000
committerShaun Ruffell <sruffell@digium.com>2014-10-22 21:27:23 +0000
commit14db1236adf91e82753b4feed584a3cf23b42728 (patch)
treee55741fcdea1c6c6124ede1da6a5388876ed79a4 /codecs/ex_alaw.h
parent70f1c82ac2f89c2441ee16dbc5fc106b2161bb90 (diff)
codec_dahdi: Cannot use struct ast_translator.core_{src,src}_codec.
This fixes a Segmentation fault introduced in r419044 "media formats: re-architect handling of media for performance improvements". The problem is that codec_dahdi was using core_src_codec and core_dst_codec in the ast_translator structure when these fields were never set. Now instead of trying to map the new core codec descriptions to the way DAHDI defines different codecs, we will store the DAHDI specific formats in 'struct translator' directly so we can refer to them without mapping. This also allows us to remove the "global_format_map" structure, since we can now query the list of translators directly to make sure we do not ever register a DAHDI based translator for a specific path more than once and eliminate the need to keep the list and the map in sync. ASTERISK-24435 #close Reported by: Marian Koniuszko Review: https://reviewboard.asterisk.org/r/4105/ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@426097 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'codecs/ex_alaw.h')
0 files changed, 0 insertions, 0 deletions