summaryrefslogtreecommitdiffstats
path: root/demux/demux_mf.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-08 00:35:04 +0200
committerwm4 <wm4@nowhere>2013-07-08 00:35:04 +0200
commitc4f33d784a058325b26ba82f34c43dab0cb19dc8 (patch)
treef2440ba82efc84193ba7f4599416bea3989c17a1 /demux/demux_mf.c
parentaac5d758c5a60f13162bc2b500618389bfd92602 (diff)
downloadmpv-c4f33d784a058325b26ba82f34c43dab0cb19dc8.tar.bz2
mpv-c4f33d784a058325b26ba82f34c43dab0cb19dc8.tar.xz
demux: remove some old stream header functions
Diffstat (limited to 'demux/demux_mf.c')
-rw-r--r--demux/demux_mf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/demux/demux_mf.c b/demux/demux_mf.c
index 127ee8474e..7e2757e155 100644
--- a/demux/demux_mf.c
+++ b/demux/demux_mf.c
@@ -206,7 +206,8 @@ static demuxer_t* demux_open_mf(demuxer_t* demuxer){
demuxer->movi_end = mf->nr_of_files - 1;
// create a new video stream header
- sh_video = new_sh_video(demuxer, 0);
+ struct sh_stream *sh = new_sh_stream(demuxer, STREAM_VIDEO);
+ sh_video = sh->video;
// make sure the demuxer knows about the new video stream header
// (even though new_sh_video() ought to take care of it)
demuxer->video->sh = sh_video;