aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/utils.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/utils.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/utils.c')
-rw-r--r--libswscale/utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libswscale/utils.c b/libswscale/utils.c
index ae121f8529..3a8531d0f0 100644
--- a/libswscale/utils.c
+++ b/libswscale/utils.c
@@ -155,6 +155,8 @@ static const FormatEntry format_entries[AV_PIX_FMT_NB] = {
[AV_PIX_FMT_BGR444LE] = { 1, 1 },
[AV_PIX_FMT_BGR444BE] = { 1, 1 },
[AV_PIX_FMT_YA8] = { 1, 0 },
+ [AV_PIX_FMT_YA16BE] = { 1, 0 },
+ [AV_PIX_FMT_YA16LE] = { 1, 0 },
[AV_PIX_FMT_BGR48BE] = { 1, 1 },
[AV_PIX_FMT_BGR48LE] = { 1, 1 },
[AV_PIX_FMT_BGRA64BE] = { 0, 0, 1 },