summaryrefslogtreecommitdiffstats
path: root/libmpdemux/demuxer.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2009-12-02 17:36:59 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2009-12-02 17:37:39 +0200
commit9afcdab6944587aaee7db0307f3087b5a275771d (patch)
treece49acdea7c9cb84e7a403a848b8df5032f11a3c /libmpdemux/demuxer.c
parent6da77386e99a511c36df4fde03489bab7f0d1b07 (diff)
downloadmpv-9afcdab6944587aaee7db0307f3087b5a275771d.tar.bz2
mpv-9afcdab6944587aaee7db0307f3087b5a275771d.tar.xz
options: Move ass_enabled to options struct
Diffstat (limited to 'libmpdemux/demuxer.c')
-rw-r--r--libmpdemux/demuxer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/demuxer.c b/libmpdemux/demuxer.c
index be1cfde73c..564655609f 100644
--- a/libmpdemux/demuxer.c
+++ b/libmpdemux/demuxer.c
@@ -923,7 +923,7 @@ static demuxer_t *demux_open_stream(struct MPOpts *opts, stream_t *stream,
sh_video->i_bps / 1024.0f);
}
#ifdef CONFIG_ASS
- if (ass_enabled && ass_library) {
+ if (opts->ass_enabled && ass_library) {
for (i = 0; i < MAX_S_STREAMS; ++i) {
sh_sub_t *sh = demuxer->s_streams[i];
if (sh && sh->type == 'a') {