summaryrefslogtreecommitdiff
path: root/libswscale/utils.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2016-11-14 01:55:49 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2016-11-14 10:35:06 +0100
commitb5177c7051d1bece9e26d78c9978599334e90836 (patch)
treed44bc2bc60db99ec10f52a9fa943ea236540ea17 /libswscale/utils.c
parent3f1b5ca22ec372bc6d4a45694e3070b8f5d05ad3 (diff)
lsws: Add GRAY10 conversion.
Based on 19be5fb7 by Luca Barbato.
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 a1d791b616..15cc56d5a4 100644
--- a/libswscale/utils.c
+++ b/libswscale/utils.c
@@ -131,6 +131,8 @@ static const FormatEntry format_entries[AV_PIX_FMT_NB] = {
[AV_PIX_FMT_RGB0] = { 1, 1 },
[AV_PIX_FMT_0BGR] = { 1, 1 },
[AV_PIX_FMT_BGR0] = { 1, 1 },
+ [AV_PIX_FMT_GRAY10BE] = { 1, 1 },
+ [AV_PIX_FMT_GRAY10LE] = { 1, 1 },
[AV_PIX_FMT_GRAY12BE] = { 1, 1 },
[AV_PIX_FMT_GRAY12LE] = { 1, 1 },
[AV_PIX_FMT_GRAY16BE] = { 1, 1 },