summaryrefslogtreecommitdiffstats
path: root/lib/libshout-idjc/src/format_webm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libshout-idjc/src/format_webm.c')
-rw-r--r--lib/libshout-idjc/src/format_webm.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/lib/libshout-idjc/src/format_webm.c b/lib/libshout-idjc/src/format_webm.c
index ace8edcb60..944a285c16 100644
--- a/lib/libshout-idjc/src/format_webm.c
+++ b/lib/libshout-idjc/src/format_webm.c
@@ -20,17 +20,17 @@
*/
#ifdef HAVE_CONFIG_H
- #include <config.h>
+# include <config.h>
#endif
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_INTTYPES_H
-#include <inttypes.h>
+# include <inttypes.h>
#endif
-#include <shout/shout.h>
+#include <shoutidjc/shout.h>
#include "shout_private.h"
/* -- local datatypes -- */
@@ -38,31 +38,31 @@
/* no local state */
/* -- static prototypes -- */
-static int send_webm(shout_t *self, const unsigned char *data, size_t len);
+static int send_webm(shout_t *self, const unsigned char *data, size_t len);
static void close_webm(shout_t *self);
int shout_open_webm(shout_t *self)
{
- self->format_data = NULL;
- self->send = send_webm;
- self->close = close_webm;
+ self->format_data = NULL;
+ self->send = send_webm;
+ self->close = close_webm;
- return SHOUTERR_SUCCESS;
+ return SHOUTERR_SUCCESS;
}
static int send_webm(shout_t *self, const unsigned char *data, size_t len)
{
- /* IMPORTANT TODO: we just send the raw data. We need throttling. */
+ /* IMPORTANT TODO: we just send the raw data. We need throttling. */
- ssize_t ret = shout_send_raw(self, data, len);
+ ssize_t ret = shout_send_raw(self, data, len);
if (ret != (ssize_t)len)
- return self->error = SHOUTERR_SOCKET;
+ return self->error = SHOUTERR_SOCKET;
- return self->error = SHOUTERR_SUCCESS;
+ return self->error = SHOUTERR_SUCCESS;
}
static void close_webm(shout_t *self)
{
- /* no local state */
- (void)self;
+ /* no local state */
+ (void)self;
}