changeset 20907:eb6a62406a20

10l copy&paste bug in subtitle sh handling
author reimar
date Tue, 14 Nov 2006 15:02:15 +0000
parents 160974ca8bf2
children 203f64232d82
files libmpdemux/demux_mov.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mov.c	Tue Nov 14 14:02:55 2006 +0000
+++ b/libmpdemux/demux_mov.c	Tue Nov 14 15:02:15 2006 +0000
@@ -1932,9 +1932,9 @@
 	}
     }
     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;