bug-vcdimager
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[VCDImager Bugs/Devel] Not really a bug


From: Stephen Inkpen
Subject: [VCDImager Bugs/Devel] Not really a bug
Date: Tue, 10 Apr 2001 18:41:05 -0230 (NDT)

I was ripping some vcds a friend had made for me and came across:

beta% vcdrip --rip --cdrom-device=/dev/hdc
   INFO: track_00.mpg: 1251 -> 108350
reading 24:0ioctl(): Input/output error

vcdrip then abruptly exits. It seems that the software or hardware
that created the vcd messes up at the end of each track. The mpg
file that has already been written out works fine but vcdrip
doesn't continue to the next tracks.

This patch will return a buffer of zeros when it hits the input/output
error and it continues reading the vcd. That way you can continue to
grab the rest of the tracks.

*** vcdrip.c    Sat Mar 17 16:04:06 2001
--- vcdrip-new.c        Tue Apr 10 18:37:12 2001
***************
*** 209,213 ****
          {
            perror ("ioctl()");
!           exit (EXIT_FAILURE);
          }

--- 209,214 ----
          {
            perror ("ioctl()");
!                 memset(data,0,M2RAW_SIZE);
! //          exit (EXIT_FAILURE);
          }

Of course, if you see the input/output error at the beginning of the vcd
changes are that the vcd is completely bad.

Stephen Inkpen
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]