summaryrefslogtreecommitdiff
path: root/libswscale/utils.c
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2022-09-05 14:53:50 -0700
committerPhilip Langdale <philipl@overt.org>2022-09-10 12:29:12 -0700
commitcaf8d4d256cc21f09570bdcbdbe8dde4406834ca (patch)
treec983de742589183a3bd9be6eda0fab653b4dce31 /libswscale/utils.c
parentd32a9f3137c91de86547601a38fea0693c3497f1 (diff)
downloadffmpeg-caf8d4d256cc21f09570bdcbdbe8dde4406834ca.tar.gz
swscale/output: add support for P012
This generalises the existing P010 support.
Diffstat (limited to 'libswscale/utils.c')
-rw-r--r--libswscale/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/utils.c b/libswscale/utils.c
index a5a9bc589a..599c326754 100644
--- a/libswscale/utils.c
+++ b/libswscale/utils.c
@@ -236,8 +236,8 @@ static const FormatEntry format_entries[] = {
[AV_PIX_FMT_AYUV64LE] = { 1, 1},
[AV_PIX_FMT_P010LE] = { 1, 1 },
[AV_PIX_FMT_P010BE] = { 1, 1 },
- [AV_PIX_FMT_P012LE] = { 1, 0 },
- [AV_PIX_FMT_P012BE] = { 1, 0 },
+ [AV_PIX_FMT_P012LE] = { 1, 1 },
+ [AV_PIX_FMT_P012BE] = { 1, 1 },
[AV_PIX_FMT_P016LE] = { 1, 1 },
[AV_PIX_FMT_P016BE] = { 1, 1 },
[AV_PIX_FMT_GRAYF32LE] = { 1, 1 },