asterisk/codecs
Kinsey Moore 86b9e31796 codec_dahdi: Fix output of "transcoder show" CLI command.
In r306010 "Asterisk media architecture conversion - no more format
bitfields", the logic for incrementing encoders and decoders when
opening transcoder channels was changed without making the corresponding
change when decrementing encoder / decoder channels.  The result being
that when a channel was destroyed, codec_dahdi couldn't properly tell if
it was an encoder or decoder, and the default case is to assume it was a
decoder.

This could result in negative numbers for decoders in use like in:
  VOIP6*CLI> transcoder show
  2/-2 encoders/decoders of 92 channels are in use.

(closes issue ASTERISK-19921)
Patch-by: Shaun Ruffell
........

Merged revisions 377382 from http://svn.asterisk.org/svn/asterisk/branches/10
........

Merged revisions 377383 from http://svn.asterisk.org/svn/asterisk/branches/11


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@377384 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-12-07 22:08:48 +00:00
..
g722 Shuttle some bits around to address some gain issues with G.722. 2009-05-15 17:59:08 +00:00
gsm GSM: Fix encoding problems with GSM 2012-10-22 17:31:20 +00:00
ilbc Fix valgrind found memcpy issues in codec_ilbc. 2012-09-25 17:22:25 +00:00
lpc10 Simplify build system architecture optimization 2012-04-12 15:25:47 +00:00
speex Doxygen Updates Janitor Work 2012-09-22 20:43:30 +00:00
Makefile Title update 2012-10-14 21:56:13 +00:00
codec_a_mu.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
codec_adpcm.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
codec_alaw.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
codec_dahdi.c codec_dahdi: Fix output of "transcoder show" CLI command. 2012-12-07 22:08:48 +00:00
codec_g722.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
codec_g726.c Avoid cppcheck warnings; removing unused vars and a bit of cleanup. 2012-04-17 18:57:40 +00:00
codec_gsm.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
codec_ilbc.c Enable usage of system-provided iLBC library. 2012-07-23 21:27:56 +00:00
codec_lpc10.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
codec_resample.c Avoid cppcheck warnings; removing unused vars and a bit of cleanup. 2012-04-17 18:57:40 +00:00
codec_speex.c Doxygen Updates - janitor work 2012-09-21 17:14:59 +00:00
codec_ulaw.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
ex_adpcm.h Asterisk media architecture conversion - no more format bitfields 2011-02-03 16:22:10 +00:00
ex_alaw.h Asterisk media architecture conversion - no more format bitfields 2011-02-03 16:22:10 +00:00
ex_g722.h Asterisk media architecture conversion - no more format bitfields 2011-02-03 16:22:10 +00:00
ex_g726.h Asterisk media architecture conversion - no more format bitfields 2011-02-03 16:22:10 +00:00
ex_gsm.h Asterisk media architecture conversion - no more format bitfields 2011-02-03 16:22:10 +00:00
ex_ilbc.h Fix compile error in codec ilbc translator. 2011-02-04 16:42:15 +00:00
ex_lpc10.h Asterisk media architecture conversion - no more format bitfields 2011-02-03 16:22:10 +00:00
ex_speex.h Asterisk media architecture conversion - no more format bitfields 2011-02-03 16:22:10 +00:00
ex_ulaw.h Asterisk media architecture conversion - no more format bitfields 2011-02-03 16:22:10 +00:00
log2comp.h Doxygen Updates - Title update 2012-10-18 14:17:40 +00:00