Replaced CODEC_ID_* constants with AV_CODEC_ID_* to match new libav naming convention