diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-07-07 02:26:13 +0300 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-07-07 02:34:35 +0300 |
commit | 0eb321bf2c1cc0e048faff26a01f86cdd3ec254f (patch) | |
tree | 71cb9bd9ed121156d3382066c0722c73189afe04 /libao2/ao_ivtv.c | |
parent | 6d908205fbadbdf7ccdc6c5e0eb918f0b43f16e0 (diff) | |
download | mpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.bz2 mpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.xz |
Remove trailing whitespace from most files
Diffstat (limited to 'libao2/ao_ivtv.c')
-rw-r--r-- | libao2/ao_ivtv.c | 10 |
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; |