On Thu, 22 Sep 2005, Peter Czanik wrote:

> The software itself, where this message and termination is reproducable 
> is 'vobcopy' compiled from PackMan src.rpm using the '-m' switch. The 
> DVD drive is extremly loud in this Pegasos2-PPC machine, so I wanted to 
> mirror the content to HDD, before watchig the film.

Just apply the attached patch and everything should be fine.


Regards
        Christoph
--- vobcopy.c
+++ vobcopy.c
@@ -159,7 +159,7 @@
   struct stat       buf;
 
   dvd_reader_t      *dvd = NULL;
-  dvd_file_t        *dvd_file;
+  dvd_file_t        *dvd_file = NULL;
   extern char       *optarg;
   extern int        optind, optopt;
 
@@ -800,7 +800,7 @@
        /* no dirs behind -1, -2 ... since its all in one dir */
        {
          char video_ts_dir[263];
-         char number[3], nr[4];
+         char number[8], nr[4];
          char input_file[280];
          char output_file[255];
          int  i, start, title_nr = 0;
@@ -1932,4 +1932,6 @@
                     exit( 1 );
                 }
         }
+
+        return 0;
 }
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to