summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_pcm.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-10-23 19:07:27 +0200
committerwm4 <wm4@nowhere>2013-10-23 19:30:02 +0200
commitd58d4ec93c6a89cea3488689f12f6e7abd0617c9 (patch)
tree0b8114a6989cceeccde41693160a5db411476fe5 /audio/out/ao_pcm.c
parent6d44a4dfd1487611dd8ff3da4a6566e64c17106a (diff)
downloadmpv-d58d4ec93c6a89cea3488689f12f6e7abd0617c9.tar.bz2
mpv-d58d4ec93c6a89cea3488689f12f6e7abd0617c9.tar.xz
audio/out: remove useless info struct and redundant fields
Diffstat (limited to 'audio/out/ao_pcm.c')
-rw-r--r--audio/out/ao_pcm.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/audio/out/ao_pcm.c b/audio/out/ao_pcm.c
index 7b5bc3e3dc..d2f5f791ec 100644
--- a/audio/out/ao_pcm.c
+++ b/audio/out/ao_pcm.c
@@ -3,6 +3,8 @@
*
* This file is part of MPlayer.
*
+ * Original author: Atmosfear
+ *
* MPlayer is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -203,12 +205,8 @@ static int play(struct ao *ao, void *data, int len, int flags)
#define OPT_BASE_STRUCT struct priv
const struct ao_driver audio_out_pcm = {
- .info = &(const struct ao_info) {
- "RAW PCM/WAVE file writer audio output",
- "pcm",
- "Atmosfear",
- "",
- },
+ .description = "RAW PCM/WAVE file writer audio output",
+ .name = "pcm",
.init = init,
.uninit = uninit,
.get_space = get_space,