def METHOD_NAME(match1, match2):
    """
    Gives priority to audio_codec
    :param match1:
    :type match1:
    :param match2:
    :type match2:
    :return:
    :rtype:
    """
    if match1.name == 'audio_codec' and match2.name in ['audio_profile', 'audio_channels']:
        return match2
    if match1.name in ['audio_profile', 'audio_channels'] and match2.name == 'audio_codec':
        return match1
    return '__default__'