Revision 5d6e4c16 libavformat/utils.c

View differences:

libavformat/utils.c
2015 2015
    int val;
2016 2016
    switch(enc->codec_type) {
2017 2017
    case AVMEDIA_TYPE_AUDIO:
2018
        val = enc->sample_rate && enc->channels && enc->sample_fmt != SAMPLE_FMT_NONE;
2018
        val = enc->sample_rate && enc->channels && enc->sample_fmt != AV_SAMPLE_FMT_NONE;
2019 2019
        if(!enc->frame_size &&
2020 2020
           (enc->codec_id == CODEC_ID_VORBIS ||
2021 2021
            enc->codec_id == CODEC_ID_AAC ||

Also available in: Unified diff