From 2fa08abdb636ed54877c7c82a4813005315b8308 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 28 Apr 2013 15:53:20 +0200 Subject: [PATCH] sws: enable xyz12, this for now is just for swaping between le and be Needed for fixing fate Signed-off-by: Michael Niedermayer --- libswscale/utils.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libswscale/utils.c b/libswscale/utils.c index ca7c2c4a28..94a43a2fea 100644 --- a/libswscale/utils.c +++ b/libswscale/utils.c @@ -196,6 +196,8 @@ static const FormatEntry format_entries[AV_PIX_FMT_NB] = { [AV_PIX_FMT_GBRP14BE] = { 1, 1 }, [AV_PIX_FMT_GBRP16LE] = { 1, 0 }, [AV_PIX_FMT_GBRP16BE] = { 1, 0 }, + [AV_PIX_FMT_XYZ12BE] = { 1, 0 }, + [AV_PIX_FMT_XYZ12LE] = { 0, 1 }, }; int sws_isSupportedInput(enum AVPixelFormat pix_fmt)