aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpdemux/demux_mov.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux/demux_mov.c')
-rw-r--r--libmpdemux/demux_mov.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpdemux/demux_mov.c b/libmpdemux/demux_mov.c
index 517bc4946e..1b094b53de 100644
--- a/libmpdemux/demux_mov.c
+++ b/libmpdemux/demux_mov.c
@@ -1932,9 +1932,9 @@ static demuxer_t* mov_read_header(demuxer_t* demuxer){
}
}
if(demuxer->sub->id>=0){
- sh_video_t* sh=demuxer->s_streams[demuxer->sub->id];
+ sh_sub_t* sh=demuxer->s_streams[demuxer->sub->id];
if(sh){
- demuxer->sub->sh=sh; sh->ds=demuxer->sub;
+ demuxer->sub->sh=sh;
} else {
mp_msg(MSGT_DEMUX, MSGL_ERR, "MOV: selected video stream (%d) does not exists\n",demuxer->video->id);
demuxer->sub->id=-2;