diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2017-04-04 13:24:41 +0300 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2017-04-13 00:00:04 +0300 |
commit | c1616b454dc0c1fd391140e5dec1da0c3228b1e1 (patch) | |
tree | 38625e96f61e89a62694a220133c02dad33aca38 /libswscale/utils.c | |
parent | d89ac691c9cf9b5bc0912c5e2c8ba7747e23cf5e (diff) |
lsws/utils: Make gray10 and gray12 full-scale like gray8 and gray16.
Diffstat (limited to 'libswscale/utils.c')
-rw-r--r-- | libswscale/utils.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libswscale/utils.c b/libswscale/utils.c index 4c9b53bbeb..17c996734a 100644 --- a/libswscale/utils.c +++ b/libswscale/utils.c @@ -1016,6 +1016,10 @@ static int handle_jpeg(enum AVPixelFormat *format) return 1; case AV_PIX_FMT_GRAY8: case AV_PIX_FMT_YA8: + case AV_PIX_FMT_GRAY10LE: + case AV_PIX_FMT_GRAY10BE: + case AV_PIX_FMT_GRAY12LE: + case AV_PIX_FMT_GRAY12BE: case AV_PIX_FMT_GRAY16LE: case AV_PIX_FMT_GRAY16BE: case AV_PIX_FMT_YA16BE: |