Make sure chan_iax.c and chan_iax2.c know the size of G726 frames
[asterisk/asterisk.git] / channels / chan_iax2.c
index d75beca..4347636 100755 (executable)
@@ -647,6 +647,7 @@ static int get_samples(struct ast_frame *f)
                samples = f->datalen;
                break;
        case AST_FORMAT_ADPCM:
+       case AST_FORMAT_G726:
                samples = f->datalen *2;
                break;
        default: