summaryrefslogtreecommitdiffstats
path: root/stream/asf_mmst_streaming.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-23 07:01:31 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-23 13:48:38 +0300
commitc0c914effd94324362e4ca70204f1b08783f6121 (patch)
tree5e0c11787d1e44b03dc27c877cd43195c75cf630 /stream/asf_mmst_streaming.c
parentf518cf7ea99e9282508f551ecb43892f6aabcbc4 (diff)
downloadmpv-c0c914effd94324362e4ca70204f1b08783f6121.tar.bz2
mpv-c0c914effd94324362e4ca70204f1b08783f6121.tar.xz
Move audio_id and video_id to options struct
Diffstat (limited to 'stream/asf_mmst_streaming.c')
-rw-r--r--stream/asf_mmst_streaming.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/stream/asf_mmst_streaming.c b/stream/asf_mmst_streaming.c
index 31536a9dae..a0b4295102 100644
--- a/stream/asf_mmst_streaming.c
+++ b/stream/asf_mmst_streaming.c
@@ -35,7 +35,7 @@
#include <inttypes.h>
#include "config.h"
-
+#include "options.h"
#include "mp_msg.h"
#include "help_mp.h"
@@ -648,6 +648,7 @@ int asf_mmst_streaming_start(stream_t *stream)
memset (data, 0, 40);
+ int audio_id = stream->opts->audio_id;
if (audio_id > 0) {
data[2] = 0xFF;
data[3] = 0xFF;