aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/swscale_unscaled.c
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2014-07-20 01:05:35 -0400
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-08-04 12:56:05 +0100
commitf84a1b597c29dc035b8d5529ef88c2d7ff057820 (patch)
treebf2504960b962a10cfdb869caecaaad613ccb818 /libswscale/swscale_unscaled.c
parente9abafca278f87e1ecc6d50091d99b73ff63c9a6 (diff)
downloadffmpeg-f84a1b597c29dc035b8d5529ef88c2d7ff057820.tar.gz
swscale: support AV_PIX_FMT_YA16 as input
Based on a long debug session with Kostya.
Diffstat (limited to 'libswscale/swscale_unscaled.c')
-rw-r--r--libswscale/swscale_unscaled.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libswscale/swscale_unscaled.c b/libswscale/swscale_unscaled.c
index 21762a72ae..ffc813e1ec 100644
--- a/libswscale/swscale_unscaled.c
+++ b/libswscale/swscale_unscaled.c
@@ -1053,6 +1053,7 @@ void ff_get_unscaled_swscale(SwsContext *c)
IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_BGR565) ||
IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_BGRA64) ||
IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_GRAY16) ||
+ IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_YA16) ||
IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_RGB444) ||
IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_RGB48) ||
IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_RGB555) ||