Mailing List archive

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

[linux-dvb] Re: Rebuilding index.vdr files



Roland Praml wrote:
> 
> ...
>   if (buf(d) == 0 && buf(d+1) == 0 && buf(d+2) == 1 && buf(d+3)==SC_PICTURE)
>   {
>           char i[8]={c,c>>8,c>>16,c>>24,(buf(d+5)>>3) & 0x07,number,0};
>       if(fwrite(i, 1, 8, idx) != 8)
>       { printf("Error writing index file\n"); return -1;}
>       if (((buf(d+5)>>3) & 0x07)==1)
>    {     printf("IFrame found at: %d kB \r",(c/1024));
>              fflush(stdout);}
> 
>   }
>      }
>         }
>     }
> ... 
> // p.s. I think OjE has deleted some tabs ;-)

Couldn't you just have sent your code through 'expand' before posting it?

Apparently there are EIGHT deadly sins, not SEVEN:

   8. "Thou shalt not use TABS in source code!"

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index