Re: [FFmpeg-devel] [PATCH] snowenc: fix use of deprecated API

2017-11-03 Thread Michael Niedermayer
On Thu, Nov 02, 2017 at 08:12:48PM +0100, ffm...@fratti.ch wrote: > From: Nicolas Frattaroli > > Replace avcodec_get_chroma_sub_sample with the recommended > av_pix_fmt_get_chroma_sub_sample, which fixes a compilation warning. > --- > libavcodec/snowenc.c | 9 - > 1 file changed, 8 inser

[FFmpeg-devel] [PATCH] snowenc: fix use of deprecated API

2017-11-02 Thread ffmpeg
From: Nicolas Frattaroli Replace avcodec_get_chroma_sub_sample with the recommended av_pix_fmt_get_chroma_sub_sample, which fixes a compilation warning. --- libavcodec/snowenc.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libavcodec/snowenc.c b/libavcodec/snowenc.