diff -up mjpegtools-1.9.0/mplex/lpcmstrm_in.cpp~ mjpegtools-1.9.0/mplex/lpcmstrm_in.cpp --- mjpegtools-1.9.0/mplex/lpcmstrm_in.cpp~ 2005-10-13 18:43:10.000000000 +0200 +++ mjpegtools-1.9.0/mplex/lpcmstrm_in.cpp 2009-04-15 12:22:29.000000000 +0200 @@ -53,7 +53,7 @@ LPCMStream::LPCMStream(IBitStream &ibs, bool LPCMStream::Probe(IBitStream &bs ) { - char *last_dot = strrchr( bs.StreamName(), '.' ); + const char *last_dot = strrchr( bs.StreamName(), '.' ); return last_dot != NULL && strcmp( last_dot+1, "lpcm") == 0;