From fa9e49523e79d8f66219bb8c44cd45d6da51e69f Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Tue, 26 May 2020 22:42:20 -0400 Subject: [PATCH] nonnative endian for ya16 --- src/validation.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/validation.c b/src/validation.c index f101867..95ecd28 100644 --- a/src/validation.c +++ b/src/validation.c @@ -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: