Diff for /multiplexer/repeatts.c between versions 1.10 and 1.11

version 1.10, 2004/06/17 22:04:07 version 1.11, 2006/07/14 17:51:10
Line 1 Line 1
 /*  /*
  * ISO 13818 stream multiplexer / additional repeater tool   * ISO 13818 stream multiplexer / additional repeater tool
  * Copyright (C) 2001 Convergence Integrated Media GmbH Berlin   * Copyright (C) 2001 Convergence Integrated Media GmbH Berlin
  * Author: Oskar Schirmer (schirmer@scara.com)   * Copyright (C) 2005 Oskar Schirmer (schirmer@scara.com)
  *   *
  * This program is free software; you can redistribute it and/or modify   * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by   * it under the terms of the GNU General Public License as published by
Line 213  static boolean command_init (int cargc, Line 213  static boolean command_init (int cargc,
   dati = dato = 0;    dati = dato = 0;
   pollc = -1;    pollc = -1;
   while (++cc < cargc) {    while (++cc < cargc) {
     if (!strcmp (cargv[cc],"--help")) {      if ((!strcmp(cargv[cc],"--help")) || (!strcmp(cargv[cc],"-h"))) {
       command_help (cargv[0],"");        command_help (cargv[0],"");
       return (FALSE);        return (FALSE);
       } else if ((!strcmp(cargv[cc],"--version")) || (!strcmp(cargv[cc],"-V"))) {
         fprintf(stderr, "1.0.7\n");
         return FALSE;
     } else if (!strcmp (cargv[cc],"-i")) {      } else if (!strcmp (cargv[cc],"-i")) {
       pollc = 0;        pollc = 0;
     } else if (!strcmp (cargv[cc],"-d")) {      } else if (!strcmp (cargv[cc],"-d")) {
Line 243  static boolean command_init (int cargc, Line 246  static boolean command_init (int cargc,
       command_help (cargv[0],"");        command_help (cargv[0],"");
       return (FALSE);        return (FALSE);
     }      }
   } else if ((ctime != NULL) || (cdelay != NULL) || (pollc <= 0)) {    } else if ((ctime != NULL) || (cdelay != NULL) || (pollc < 0)) {
   D(fprintf(stderr,"ctime=%p, cdelay=%p, pollc=%d\n", ctime, cdelay, pollc));
     command_help (cargv[0],"only -i must be given when started with no file.\n");      command_help (cargv[0],"only -i must be given when started with no file.\n");
     return (FALSE);      return (FALSE);
   }    }

Removed from v.1.10  
changed lines
  Added in v.1.11


LinuxTV legacy CVS <linuxtv.org/cvs>