Aido.git / install / fix_codecs.pike

version» Context lines:

Aido.git/install/fix_codecs.pike:1:   /* -*- Mode: pike; tab-width: 8; c-basic-offset: 3; -*- */      void main()   { -  string sc = Stdio.read_file(getenv("HOME")+"/.aido/mplayer-codecs.conf" ); +  string codexconf = getenv("HOME")+"/.aido/mplayer-codecs.conf"; +  string sc = Stdio.read_file( codexconf );    string a, b;    if( sscanf( sc, "%svideocodec mpegpes%*sout MPES%s", a, b ) == 3 )    {    sc = a + b; -  Stdio.write_file( getenv("HOME") + "/.aido/mplayer-codecs.conf", sc ); +  Stdio.write_file( codexconf, sc );    }   }