mirror of
https://github.com/mpv-player/mpv
synced 2024-11-03 03:19:24 +01:00
10l copy&Ãpaste bug in subtitle sh handling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20923 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
45200bc6df
commit
96ba82424f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user