uses version major to check for av_codec