summaryrefslogtreecommitdiffstats
path: root/demux/demux.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-08 01:37:30 +0200
committerwm4 <wm4@nowhere>2013-07-08 01:37:30 +0200
commit73c76de91edbf8a55eb725196ff54583e3428510 (patch)
treebb2538a39731a3b8e83f34e08463dcc8908bbfb0 /demux/demux.h
parent05ae5afd6249af9770eb1e55104fbd4f510c2342 (diff)
downloadmpv-73c76de91edbf8a55eb725196ff54583e3428510.tar.bz2
mpv-73c76de91edbf8a55eb725196ff54583e3428510.tar.xz
demux: simplify demux_open() calls
The demux_open as well as demux_open_withparams calls don't use the stream selection parameters anymore, so remove them everywhere. Completes the previous commit.
Diffstat (limited to 'demux/demux.h')
-rw-r--r--demux/demux.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/demux/demux.h b/demux/demux.h
index 93cf680bae..aa36d2f224 100644
--- a/demux/demux.h
+++ b/demux/demux.h
@@ -280,13 +280,11 @@ struct demux_packet *ds_get_packet2(struct demux_stream *ds, bool repeat_last);
double ds_get_next_pts(struct demux_stream *ds);
struct demuxer *demux_open(struct MPOpts *opts, struct stream *stream,
- int file_format, int aid, int vid, int sid,
- char *filename);
+ int file_format, char *filename);
struct demuxer *demux_open_withparams(struct MPOpts *opts,
struct stream *stream, int file_format,
- char *force_format, int audio_id,
- int video_id, int sub_id, char *filename,
+ char *force_format, char *filename,
struct demuxer_params *params);
void demux_flush(struct demuxer *demuxer);