summaryrefslogtreecommitdiffstats
path: root/core/timeline/tl_edl.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-27 21:24:54 +0200
committerwm4 <wm4@nowhere>2013-07-28 18:44:21 +0200
commitda2b4aa5870f407ad322b6116ed8d66a66dbeadf (patch)
tree4cee7047c5f522c9b98978170a218e118398029a /core/timeline/tl_edl.c
parent2fc07dcf302061c6f04a7570e2c1825bb2393513 (diff)
downloadmpv-da2b4aa5870f407ad322b6116ed8d66a66dbeadf.tar.bz2
mpv-da2b4aa5870f407ad322b6116ed8d66a66dbeadf.tar.xz
core: make mpctx->opts a pointer
Prevents some awkwardness in a later commit, and makes the code more uniform with other places where MPOpts is accessed. This is a pretty annoying commit (touches tons of lines all over the place), but it hurts only once.
Diffstat (limited to 'core/timeline/tl_edl.c')
-rw-r--r--core/timeline/tl_edl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/timeline/tl_edl.c b/core/timeline/tl_edl.c
index 6096d03b6a..4afb346dae 100644
--- a/core/timeline/tl_edl.c
+++ b/core/timeline/tl_edl.c
@@ -354,10 +354,10 @@ void build_edl_timeline(struct MPContext *mpctx)
mpctx->num_sources = 1;
for (int i = 0; i < num_sources; i++) {
- struct stream *s = stream_open(edl_ids[i].filename, &mpctx->opts);
+ struct stream *s = stream_open(edl_ids[i].filename, mpctx->opts);
if (!s)
goto openfail;
- struct demuxer *d = demux_open(s, NULL, NULL, &mpctx->opts);
+ struct demuxer *d = demux_open(s, NULL, NULL, mpctx->opts);
if (!d) {
free_stream(s);
openfail: