Revision 5d6e4c16 libavcodec/utils.c

View differences:

libavcodec/utils.c
923 923
        }
924 924
        av_strlcat(buf, ", ", buf_size);
925 925
        avcodec_get_channel_layout_string(buf + strlen(buf), buf_size - strlen(buf), enc->channels, enc->channel_layout);
926
        if (enc->sample_fmt != SAMPLE_FMT_NONE) {
926
        if (enc->sample_fmt != AV_SAMPLE_FMT_NONE) {
927 927
            snprintf(buf + strlen(buf), buf_size - strlen(buf),
928 928
                     ", %s", av_get_sample_fmt_name(enc->sample_fmt));
929 929
        }
......
1067 1067
}
1068 1068

  
1069 1069
#if FF_API_OLD_SAMPLE_FMT
1070
int av_get_bits_per_sample_format(enum SampleFormat sample_fmt) {
1070
int av_get_bits_per_sample_format(enum AVSampleFormat sample_fmt) {
1071 1071
    return av_get_bits_per_sample_fmt(sample_fmt);
1072 1072
}
1073 1073
#endif

Also available in: Unified diff