nonnative endian for ya16

This commit is contained in:
byte[] 2020-05-26 22:42:20 -04:00
parent 14e0394966
commit fa9e49523e

View file

@ -12,7 +12,8 @@ static int validate_video_pixel_format(enum AVPixelFormat format)
{
switch (format) {
// Still image formats
case AV_PIX_FMT_YA16:
case AV_PIX_FMT_YA16LE:
case AV_PIX_FMT_YA16BE:
case AV_PIX_FMT_GRAY8:
case AV_PIX_FMT_GRAY8A:
case AV_PIX_FMT_GRAY10LE: