[FFmpeg-cvslog] avf_showspectrum: Silence "deprecated pixel format" warning
Timothy Gu
git at videolan.org
Sun Jan 10 00:32:51 CET 2016
ffmpeg | branch: master | Timothy Gu <timothygu99 at gmail.com> | Sat Jan 9 10:45:48 2016 -0800| [53d6bf662773b7dc579c50757c1842d2801b4013] | committer: Timothy Gu
avf_showspectrum: Silence "deprecated pixel format" warning
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=53d6bf662773b7dc579c50757c1842d2801b4013
---
libavfilter/avf_showspectrum.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/avf_showspectrum.c b/libavfilter/avf_showspectrum.c
index d367bd5..36cbdb2 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 */
More information about the ffmpeg-cvslog
mailing list