aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/f_ebur128.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-11-05 13:34:08 +0000
committerPaul B Mahol <onemda@gmail.com>2012-11-05 13:34:08 +0000
commite870a7dd4ab1de56bb24080ee047321a7240ae69 (patch)
tree512c180a9fa3be546b6ae813d1523b8ba803c0c4 /libavfilter/f_ebur128.c
parentf4aaf987a588fcf5978e636edf2193df35b3e83b (diff)
downloadffmpeg-e870a7dd4ab1de56bb24080ee047321a7240ae69.tar.gz
lavfi: stop using -1 instead use AV_PIX_FMT_NONE/AV_SAMPLE_FMT_NONE
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/f_ebur128.c')
-rw-r--r--libavfilter/f_ebur128.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/f_ebur128.c b/libavfilter/f_ebur128.c
index 5424276ea0..e850669659 100644
--- a/libavfilter/f_ebur128.c
+++ b/libavfilter/f_ebur128.c
@@ -649,9 +649,9 @@ static int query_formats(AVFilterContext *ctx)
AVFilterLink *inlink = ctx->inputs[0];
AVFilterLink *outlink = ctx->outputs[0];
- static const enum AVSampleFormat sample_fmts[] = { AV_SAMPLE_FMT_DBL, -1 };
+ static const enum AVSampleFormat sample_fmts[] = { AV_SAMPLE_FMT_DBL, AV_SAMPLE_FMT_NONE };
static const int input_srate[] = {48000, -1}; // ITU-R BS.1770 provides coeff only for 48kHz
- static const enum AVPixelFormat pix_fmts[] = { AV_PIX_FMT_RGB24, -1 };
+ static const enum AVPixelFormat pix_fmts[] = { AV_PIX_FMT_RGB24, AV_PIX_FMT_NONE };
/* set input audio formats */
formats = ff_make_format_list(sample_fmts);