summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-03-07 15:24:39 +0100
committerwm4 <wm4@nowhere>2014-03-09 00:19:34 +0100
commit76eca814556f90cc4ef7ba503a12b2d0a5351bef (patch)
tree105e7de214c71ee7efce7e1317aba173ab8e2a97 /audio
parent41f2b26d11e81095a0d8d370480e0d2459208070 (diff)
downloadmpv-76eca814556f90cc4ef7ba503a12b2d0a5351bef.tar.bz2
mpv-76eca814556f90cc4ef7ba503a12b2d0a5351bef.tar.xz
ao: remove opts field
Apparently unused.
Diffstat (limited to 'audio')
-rw-r--r--audio/out/ao.c1
-rw-r--r--audio/out/internal.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/audio/out/ao.c b/audio/out/ao.c
index b77d401d64..7a973fef2d 100644
--- a/audio/out/ao.c
+++ b/audio/out/ao.c
@@ -141,7 +141,6 @@ static struct ao *ao_create(bool probing, struct mpv_global *global,
*ao = (struct ao) {
.driver = desc.p,
.probing = probing,
- .opts = global->opts,
.encode_lavc_ctx = encode_lavc_ctx,
.input_ctx = input_ctx,
.samplerate = samplerate,
diff --git a/audio/out/internal.h b/audio/out/internal.h
index 5cb12886a7..e996f8afeb 100644
--- a/audio/out/internal.h
+++ b/audio/out/internal.h
@@ -34,7 +34,6 @@ struct ao {
const struct ao_driver *driver;
void *priv;
struct encode_lavc_context *encode_lavc_ctx;
- struct MPOpts *opts;
struct input_ctx *input_ctx;
struct mp_log *log; // Using e.g. "[ao/coreaudio]" as prefix
};