add unit test for AVCodecFlagType, remove incorrect flag from AVCodecFlagType