avisynth: simplify the pix_fmt check for the newer AviSynth API
authorStephen Hutchinson <qyot27@gmail.com>
Thu, 11 Aug 2016 03:14:35 +0000 (23:14 -0400)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 11 Aug 2016 17:55:16 +0000 (19:55 +0200)
commit0ed5c3ce81811dcd93f21cdd1204d4c68bca9654
tree293b0fb9e7187869a13062d219682412c308fc21
parent2e95054ebb73f95aa6620b76245313a6ccb62245
avisynth: simplify the pix_fmt check for the newer AviSynth API

The values don't need to be hardcoded since the correct values are
returned by avs_bits_per_pixel.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/avisynth.c