1c80282007-11-11Peter Bortas /* -*- Mode: pike; tab-width: 8; c-basic-offset: 3; -*- */
a4f42b2007-11-11Peter Bortas 
5908952004-12-03Per Hedbor void main() {
3e13b92009-07-08Peter Bortas  string codexconf = getenv("HOME")+"/.aido/mplayer-codecs.conf"; string sc = Stdio.read_file( codexconf );
5908952004-12-03Per Hedbor  string a, b; if( sscanf( sc, "%svideocodec mpegpes%*sout MPES%s", a, b ) == 3 ) { sc = a + b;
3e13b92009-07-08Peter Bortas  Stdio.write_file( codexconf, sc );
5908952004-12-03Per Hedbor  } }