aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2022-02-17 22:48:00 +0100
committerPaul B Mahol <onemda@gmail.com>2022-02-17 23:05:13 +0100
commitda473e0984e0ee3d99c4677c74b2acf62e91caaa (patch)
treed20218aef4abbf713e02476c13119bc316cc098d /libavfilter
parentb66afd1caa3e80e144b7fe55277f9eb0e65f9570 (diff)
downloadffmpeg-da473e0984e0ee3d99c4677c74b2acf62e91caaa.tar.gz
avfilter/vf_extractplanes: unbreak "extracting" >8 depth gray formats
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_extractplanes.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/libavfilter/vf_extractplanes.c b/libavfilter/vf_extractplanes.c
index 80fbc6e4b8..5b5fd6e232 100644
--- a/libavfilter/vf_extractplanes.c
+++ b/libavfilter/vf_extractplanes.c
@@ -81,7 +81,12 @@ AVFILTER_DEFINE_CLASS(extractplanes);
AV_PIX_FMT_GBRP, AV_PIX_FMT_GBRAP
#define HIGHDEPTH_FORMATS(suf) \
- AV_PIX_FMT_YA16##suf, AV_PIX_FMT_GRAY16##suf, \
+ AV_PIX_FMT_YA16##suf, \
+ AV_PIX_FMT_GRAY9##suf, \
+ AV_PIX_FMT_GRAY10##suf, \
+ AV_PIX_FMT_GRAY12##suf, \
+ AV_PIX_FMT_GRAY14##suf, \
+ AV_PIX_FMT_GRAY16##suf, \
AV_PIX_FMT_YUV420P16##suf, AV_PIX_FMT_YUVA420P16##suf, \
AV_PIX_FMT_YUV422P16##suf, AV_PIX_FMT_YUVA422P16##suf, \
AV_PIX_FMT_YUV444P16##suf, AV_PIX_FMT_YUVA444P16##suf, \