[MPlayer-cvslog] CVS: main/libmpdemux stream_dvd.c,1.13,1.14
Reimar Döffinger CVS
syncmail at mplayerhq.hu
Wed Apr 12 13:19:51 CEST 2006
CVS change done by Reimar Döffinger CVS
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv6367
Modified Files:
stream_dvd.c
Log Message:
missing ifoClose and return 1. Patch by kiriuja (mplayer-patches at en-directo net)
Index: stream_dvd.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/stream_dvd.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- stream_dvd.c 10 Apr 2006 16:16:33 -0000 1.13
+++ stream_dvd.c 12 Apr 2006 11:19:49 -0000 1.14
@@ -465,7 +465,10 @@
return 0;
if(!vts_file->vtsi_mat || !vts_file->vts_pgcit)
+ {
+ ifoClose(vts_file);
return 0;
+ }
for(title_no = 0; title_no < tt_srpt->nr_of_srpts; title_no++)
{
@@ -475,6 +478,7 @@
mp_msg(MSGT_GLOBAL, MSGL_INFO, "ID_DVD_TITLE_%d_LENGTH=%d.%03d\n", title_no + 1, msec / 1000, msec % 1000);
}
ifoClose(vts_file);
+ return 1;
}
static int control(stream_t *stream,int cmd,void* arg)
More information about the MPlayer-cvslog
mailing list