summaryrefslogtreecommitdiffstats
path: root/libao2/ao_ivtv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libao2/ao_ivtv.c')
-rw-r--r--libao2/ao_ivtv.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libao2/ao_ivtv.c b/libao2/ao_ivtv.c
index 22e2f49a74..6b6bb8816c 100644
--- a/libao2/ao_ivtv.c
+++ b/libao2/ao_ivtv.c
@@ -41,7 +41,7 @@
static int freq = 0;
-static const ao_info_t info =
+static const ao_info_t info =
{
"IVTV MPEG Audio Decoder output",
"ivtv",
@@ -73,7 +73,7 @@ init (int rate, int channels, int format, int flags)
"AO: [ivtv] can only handle MPEG audio streams.\n");
return 0;
}
-
+
ao_data.outburst = 2048;
ao_data.samplerate = rate;
ao_data.channels = channels;
@@ -132,11 +132,11 @@ get_space (void)
x = (float) (vo_pts - ao_data.pts) / 90000.0;
if (x <= 0)
return 0;
-
+
y = freq * 4 * x;
y /= ao_data.outburst;
y *= ao_data.outburst;
-
+
if (y > 32000)
y = 32000;
@@ -148,7 +148,7 @@ static int
play (void *data, int len, int flags)
{
int ivtv_write (const unsigned char *data, int len);
-
+
if (ao_data.format != AF_FORMAT_MPEG2)
return 0;