diff options
Diffstat (limited to 'libavfilter/formats.c')
-rw-r--r-- | libavfilter/formats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/formats.c b/libavfilter/formats.c index 5e65c2968d..f53d6baf62 100644 --- a/libavfilter/formats.c +++ b/libavfilter/formats.c @@ -108,7 +108,7 @@ AVFilterFormats *avfilter_all_formats(enum AVMediaType type) AVFilterFormats *ret = NULL; int fmt; int num_formats = type == AVMEDIA_TYPE_VIDEO ? PIX_FMT_NB : - type == AVMEDIA_TYPE_AUDIO ? SAMPLE_FMT_NB : 0; + type == AVMEDIA_TYPE_AUDIO ? AV_SAMPLE_FMT_NB : 0; for (fmt = 0; fmt < num_formats; fmt++) if ((type != AVMEDIA_TYPE_VIDEO) || |