summaryrefslogtreecommitdiff
path: root/formats/format_g723.c
diff options
context:
space:
mode:
Diffstat (limited to 'formats/format_g723.c')
-rw-r--r--formats/format_g723.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/formats/format_g723.c b/formats/format_g723.c
index 9b770336d..ffff83410 100644
--- a/formats/format_g723.c
+++ b/formats/format_g723.c
@@ -16,11 +16,11 @@
* at the top of the source tree.
*/
-/*!
+/*!
* \file
*
* \brief Old-style G.723.1 frame/timestamp format.
- *
+ *
* \arg Extensions: g723, g723sf
* \ingroup formats
*/
@@ -28,7 +28,7 @@
/*** MODULEINFO
<support_level>core</support_level>
***/
-
+
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
@@ -46,7 +46,7 @@ static struct ast_frame *g723_read(struct ast_filestream *s, int *whennext)
int delay;
/* Read the delay for the next packet, and schedule again if necessary */
/* XXX is this ignored ? */
- if (fread(&delay, 1, 4, s->f) == 4)
+ if (fread(&delay, 1, 4, s->f) == 4)
delay = ntohl(delay);
else
delay = -1;
@@ -60,7 +60,7 @@ static struct ast_frame *g723_read(struct ast_filestream *s, int *whennext)
if (size > G723_MAX_SIZE) {
ast_log(LOG_WARNING, "Size %d is invalid\n", size);
/* The file is apparently no longer any good, as we
- shouldn't ever get frames even close to this
+ shouldn't ever get frames even close to this
size. */
return NULL;
}
@@ -101,7 +101,7 @@ static int g723_write(struct ast_filestream *s, struct ast_frame *f)
if ((res = fwrite(f->data.ptr, 1, f->datalen, s->f)) != f->datalen) {
ast_log(LOG_WARNING, "Unable to write frame: res=%d (%s)\n", res, strerror(errno));
return -1;
- }
+ }
return 0;
}