Revision 5d6e4c16 libavfilter/formats.c

View differences:

libavfilter/formats.c
108 108
    AVFilterFormats *ret = NULL;
109 109
    int fmt;
110 110
    int num_formats = type == AVMEDIA_TYPE_VIDEO ? PIX_FMT_NB    :
111
                      type == AVMEDIA_TYPE_AUDIO ? SAMPLE_FMT_NB : 0;
111
                      type == AVMEDIA_TYPE_AUDIO ? AV_SAMPLE_FMT_NB : 0;
112 112

  
113 113
    for (fmt = 0; fmt < num_formats; fmt++)
114 114
        if ((type != AVMEDIA_TYPE_VIDEO) ||

Also available in: Unified diff