Diff for /multiplexer/en300468ts.c between versions 1.8 and 1.9

version 1.8, 2010/02/03 14:06:00 version 1.9, 2010/09/22 21:04:16
Line 1981  static unsigned int tab2ts(unsigned char Line 1981  static unsigned int tab2ts(unsigned char
   if (outin >= OUTBUF_SIZE) {    if (outin >= OUTBUF_SIZE) {
     outin = 0;      outin = 0;
   }    }
   #ifdef DEBUG
     fprintf(stderr, "tab2ts(%02x,%02x,%02x,%02x,%02x; %2d), l=%d, d=%d, o:%d\n",
       t[0], t[1], t[2], t[3], t[4], c, l, d, outin);
   #endif
   o = &outbuf[outin];    o = &outbuf[outin];
   if (d <= (TS_PACKET_SIZE - TS_PACKET_HEADSIZE - 1)) {    if (d <= (TS_PACKET_SIZE - TS_PACKET_HEADSIZE - 1)) {
     if (d < (TS_PACKET_SIZE - TS_PACKET_HEADSIZE - 1)) {      if (d < (TS_PACKET_SIZE - TS_PACKET_HEADSIZE - 1)) {
Line 2063  static void argloop(int f0) Line 2067  static void argloop(int f0)
                  + TS_PACKET_SIZE - TS_PACKET_HEADSIZE)                   + TS_PACKET_SIZE - TS_PACKET_HEADSIZE)
                 * 131) / 128))) {                  * 131) / 128))) {
         tmo = 0;          tmo = 0;
   #ifdef DEBUG
           {
             int x;
             fprintf(stderr, "tabbuf[%d..%d-1]:\n", tabout[i], tabin[i]);
             for (x = tabout[i]; x < tabin[i]; x++) {
               fprintf(stderr, "%02x ", tabbuf[i][x]);
             }
             fprintf(stderr, "\n");
           }
   #endif
         break;          break;
       }        }
     }      }

Removed from v.1.8  
changed lines
  Added in v.1.9


LinuxTV legacy CVS <linuxtv.org/cvs>