diff options
author | Timothy Gu <timothygu99@gmail.com> | 2016-01-09 10:45:48 -0800 |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2016-01-09 15:32:31 -0800 |
commit | 53d6bf662773b7dc579c50757c1842d2801b4013 (patch) | |
tree | 9b98c9ff690e171d927ec050f9e57bd38a90ece3 /libavfilter/avf_showspectrum.c | |
parent | cbad37e5bfe5ce54ddc0c78140ccf789c195ce8d (diff) | |
download | ffmpeg-53d6bf662773b7dc579c50757c1842d2801b4013.tar.gz |
avf_showspectrum: Silence "deprecated pixel format" warning
Diffstat (limited to 'libavfilter/avf_showspectrum.c')
-rw-r--r-- | libavfilter/avf_showspectrum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avf_showspectrum.c b/libavfilter/avf_showspectrum.c index d367bd53af..36cbdb2e69 100644 --- a/libavfilter/avf_showspectrum.c +++ b/libavfilter/avf_showspectrum.c @@ -240,7 +240,7 @@ 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_FLTP, AV_SAMPLE_FMT_NONE }; - static const enum AVPixelFormat pix_fmts[] = { AV_PIX_FMT_YUVJ444P, AV_PIX_FMT_NONE }; + static const enum AVPixelFormat pix_fmts[] = { AV_PIX_FMT_YUV444P, AV_PIX_FMT_YUVJ444P, AV_PIX_FMT_NONE }; int ret; /* set input audio formats */ |