Rick Harris wrote:
> On Monday 23 October 2006 02:37, Phil Ehrens wrote:
> > I posted this to the list a year or two ago:
> >
> >  /* compile me:                        */
> >  /*   gcc -o region-zero region-zero.c */
> >  /* set my perms:                      */
> >  /*   chmod 0755 region-zero           */
> >  /* move me to someplace useful:       */
> >  /*   mv region-zero /usr/local/bin    */
> >  /* run me in directory VIDEO_TS       */
> >
> >  #include <stdio.h>
> >
> >  main() {
> >    FILE * fd;
> >    fd = fopen("VIDEO_TS.IFO","r+");
> >    fseek(fd,0x23,SEEK_SET); /* hex offset 0x23 is the region code byte */
> >    putc(0x0,fd);            /* zero all the region code bits */
> >  }
> 
> Oops, thanks Phil.
> 
> I had a sneaking suspicion I should have asked in here first when I couldn't 
> find it in Gmane's archives (I still can't).
> 
> At least some knowledge was gained from the exercise.
> 
> Did you end up putting it on the wiki ?
> If not then you should.

I put it on the wiki. You may as well put yours there too:

http://www.transcoding.org/cgi-bin/transcode?Region_Code

Reply via email to