Renamed deprecated CODEC_ID constants to AV_CODEC_ID to fix compilation for libav 10