Ticket #4373: dvdinput.patch

File dvdinput.patch, 518 bytes (added by andrei@…, 12 years ago)
  • libs/libmythdvdnav/dvd_input.c

     
    195195 */
    196196static int file_seek(dvd_input_t dev, int blocks)
    197197{
    198   off_t pos;
     198  off64_t pos;
    199199
    200   pos = lseek(dev->fd, (off_t)blocks * (off_t)DVD_VIDEO_LB_LEN, SEEK_SET);
     200  pos = lseek64(dev->fd, (off64_t)blocks * (off64_t)DVD_VIDEO_LB_LEN, SEEK_SET);
    201201  if(pos < 0) {
    202202      return pos;
    203203  }