Follow renaming of CodecID to AVCodecID

This probably means we can't compile against FFmpeg anymore, only
against libav, but that should be fine.