diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-07-20 09:05:35 +0400 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-08-04 15:56:05 +0400 |
commit | f84a1b597c29dc035b8d5529ef88c2d7ff057820 (patch) | |
tree | bf2504960b962a10cfdb869caecaaad613ccb818 /libswscale/swscale-test.c | |
parent | e9abafca278f87e1ecc6d50091d99b73ff63c9a6 (diff) |
swscale: support AV_PIX_FMT_YA16 as input
Based on a long debug session with Kostya.
Diffstat (limited to 'libswscale/swscale-test.c')
-rw-r--r-- | libswscale/swscale-test.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libswscale/swscale-test.c b/libswscale/swscale-test.c index 7cf2dc06af..8063519be1 100644 --- a/libswscale/swscale-test.c +++ b/libswscale/swscale-test.c @@ -39,7 +39,9 @@ ((x) == AV_PIX_FMT_GRAY8 || \ (x) == AV_PIX_FMT_YA8 || \ (x) == AV_PIX_FMT_GRAY16BE || \ - (x) == AV_PIX_FMT_GRAY16LE) + (x) == AV_PIX_FMT_GRAY16LE || \ + (x) == AV_PIX_FMT_YA16BE || \ + (x) == AV_PIX_FMT_YA16LE) #define hasChroma(x) \ (!(isGray(x) || \ (x) == AV_PIX_FMT_MONOBLACK || \ |