summaryrefslogtreecommitdiff
path: root/libswscale/utils.c
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2022-08-19 16:53:37 -0700
committerPhilip Langdale <philipl@overt.org>2022-08-25 19:03:49 -0700
commit45726aa1177ee7d9d17435f879c96ab3537d8ad3 (patch)
treee76b5e34bdb1f288378e445027059b519c11367f /libswscale/utils.c
parentcc5a5c986047d38b53c0f12a227b04487624e7cb (diff)
libswscale: add support for VUYX format
As we already have support for VUYA, I figured I should do the small amount of work to support VUYX as well. That means a little refactoring to share code.
Diffstat (limited to 'libswscale/utils.c')
-rw-r--r--libswscale/utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libswscale/utils.c b/libswscale/utils.c
index 9ef157c006..a621a35862 100644
--- a/libswscale/utils.c
+++ b/libswscale/utils.c
@@ -259,6 +259,7 @@ static const FormatEntry format_entries[] = {
[AV_PIX_FMT_P416LE] = { 1, 1 },
[AV_PIX_FMT_NV16] = { 1, 1 },
[AV_PIX_FMT_VUYA] = { 1, 1 },
+ [AV_PIX_FMT_VUYX] = { 1, 1 },
[AV_PIX_FMT_RGBAF16BE] = { 1, 0 },
[AV_PIX_FMT_RGBAF16LE] = { 1, 0 },
};