aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorrcombs <rcombs@rcombs.me>2021-12-23 21:02:30 -0600
committerrcombs <rcombs@rcombs.me>2022-01-04 19:39:22 -0600
commitda92865b270c1890a163d653393e682e3b431756 (patch)
treef22b98066348ad777fc390678c31a756aee59597 /libavfilter
parent66343e46cfb1bd85dcecc066b9bf444823bd0d82 (diff)
downloadffmpeg-da92865b270c1890a163d653393e682e3b431756.tar.gz
lavfi/drawutils: re-enable P010 and P016 support
These formats now work as expected.
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/drawutils.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavfilter/drawutils.c b/libavfilter/drawutils.c
index cbb2582fe0..65ed61aa92 100644
--- a/libavfilter/drawutils.c
+++ b/libavfilter/drawutils.c
@@ -91,8 +91,6 @@ int ff_draw_init(FFDrawContext *draw, enum AVPixelFormat format, unsigned flags)
return AVERROR(ENOSYS);
if (desc->flags & ~(AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_ALPHA))
return AVERROR(ENOSYS);
- if (format == AV_PIX_FMT_P010LE || format == AV_PIX_FMT_P016LE)
- return AVERROR(ENOSYS);
if (format == AV_PIX_FMT_YUVJ420P || format == AV_PIX_FMT_YUVJ422P || format == AV_PIX_FMT_YUVJ444P ||
format == AV_PIX_FMT_YUVJ411P || format == AV_PIX_FMT_YUVJ440P)
full_range = 1;