Codec settings

I got rid of nasty defines