Re: [FFmpeg-devel] [PATCH 1/2] avisynth: simplify the pix_fmt check for the newer AviSynth API

2016-08-11 Thread Michael Niedermayer
On Thu, Aug 11, 2016 at 10:55:22AM -0400, Stephen Hutchinson wrote: > On 8/11/2016 6:31 AM, Michael Niedermayer wrote: > >does this work with all supported AviSynth versions ? > > > > Yes, it works with both 2.6 and Plus. ok ill apply it in a moment thx [...] -- Michael GnuPG fingerprint:

Re: [FFmpeg-devel] [PATCH 1/2] avisynth: simplify the pix_fmt check for the newer AviSynth API

2016-08-11 Thread Stephen Hutchinson
On 8/11/2016 6:31 AM, Michael Niedermayer wrote: does this work with all supported AviSynth versions ? Yes, it works with both 2.6 and Plus. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH 1/2] avisynth: simplify the pix_fmt check for the newer AviSynth API

2016-08-10 Thread Stephen Hutchinson
The values don't need to be hardcoded since the correct values are returned by avs_bits_per_pixel. --- libavformat/avisynth.c | 27 +-- 1 file changed, 5 insertions(+), 22 deletions(-) diff --git a/libavformat/avisynth.c b/libavformat/avisynth.c index d6167fa..1a175cb