diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 1999-12-11 20:09:45 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 1999-12-11 20:09:45 +0000 |
commit | 201849f9224ef840d3701ae6e92f3b71ab63f47b (patch) | |
tree | bb6f591206d4f084be79aa7a13122fde495ccbed /file.c | |
parent | 721ff08a5ddc15f8b7605a34005aabaf9034155e (diff) |
Version 0.1.1 from FTP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@134 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'file.c')
-rwxr-xr-x | file.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -3,7 +3,7 @@ * * Generic File Format Support. * - * Copyright (C) 1999, Adtran Inc. and Linux Support Services, LLC + * Copyright (C) 1999, Mark Spencer * * Mark Spencer <markster@linux-support.net> * @@ -168,7 +168,6 @@ int ast_writestream(struct ast_filestream *fs, struct ast_frame *f) { struct ast_frame_chain *fc, *f2; int res = -1; - int count=0; if (f->frametype != AST_FRAME_VOICE) { ast_log(LOG_WARNING, "Tried to write non-voice frame\n"); return -1; @@ -193,9 +192,6 @@ int ast_writestream(struct ast_filestream *fs, struct ast_frame *f) break; } f2 = f2->next; - count++; - if (count > 1) - ast_log(LOG_DEBUG, "Count is %d\n", count); } if (fc) ast_frchain(fc); |