diff stream/stream_vcd.c @ 30981:9bab99cfdff2

Try to fix VCD compilation on non-Linux systems.
author reimar
date Mon, 05 Apr 2010 19:31:55 +0000
parents 0b45d6af9ffe
children 045110c125c6
line wrap: on
line diff
--- a/stream/stream_vcd.c	Mon Apr 05 17:15:08 2010 +0000
+++ b/stream/stream_vcd.c	Mon Apr 05 19:31:55 2010 +0000
@@ -99,7 +99,7 @@
       mp_vcd_priv_t *vcd = vcd_read_toc(stream->fd);
       if (!vcd)
         break;
-      *(unsigned int *)arg = vcd->tochdr.cdth_trk1;
+      *(unsigned int *)arg = vcd_end_track(vcd);
       return STREAM_OK;
     }
     case STREAM_CTRL_SEEK_TO_CHAPTER: