Fix handling of zero-length frames when a codec is capable of native PLC.

Issue 9183, patch by Mihai.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@65877 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jason Parker
2007-05-24 15:14:02 +00:00
parent f4fc851405
commit b4ea07a7eb
4 changed files with 6 additions and 1 deletions

View File

@@ -104,6 +104,7 @@ struct ast_translator {
int desc_size; /*!< size of private descriptor in pvt->pvt, if any */
int plc_samples; /*!< set to the plc block size if used, 0 otherwise */
int useplc; /*!< current status of plc, changed at runtime */
int native_plc; /*!< true if the translator can do native plc */
struct ast_module *module; /* opaque reference to the parent module */