[FFmpeg-cvslog] lavfi/drawutils: Do not claim to support P016.
Carl Eugen Hoyos
git at videolan.org
Thu Mar 8 12:56:55 EET 2018
ffmpeg | branch: master | Carl Eugen Hoyos <ceffmpeg at gmail.com> | Wed Mar 7 00:36:21 2018 +0100| [9fe61b61074b013bc0a9289a207efce2107bfbcf] | committer: Carl Eugen Hoyos
lavfi/drawutils: Do not claim to support P016.
Fixes fate on big-endian.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9fe61b61074b013bc0a9289a207efce2107bfbcf
---
libavfilter/drawutils.c | 2 +-
tests/ref/fate/filter-pixfmts-pad | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/libavfilter/drawutils.c b/libavfilter/drawutils.c
index 77ab86b775..17e26c764a 100644
--- a/libavfilter/drawutils.c
+++ b/libavfilter/drawutils.c
@@ -186,7 +186,7 @@ int ff_draw_init(FFDrawContext *draw, enum AVPixelFormat format, unsigned flags)
return AVERROR(EINVAL);
if (desc->flags & ~(AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_PSEUDOPAL | AV_PIX_FMT_FLAG_ALPHA))
return AVERROR(ENOSYS);
- if (format == AV_PIX_FMT_P010LE || format == AV_PIX_FMT_P010BE)
+ if (format == AV_PIX_FMT_P010LE || format == AV_PIX_FMT_P010BE || format == AV_PIX_FMT_P016LE || format == AV_PIX_FMT_P016BE)
return AVERROR(ENOSYS);
for (i = 0; i < desc->nb_components; i++) {
c = &desc->comp[i];
diff --git a/tests/ref/fate/filter-pixfmts-pad b/tests/ref/fate/filter-pixfmts-pad
index 097bd58c86..e777211cd9 100644
--- a/tests/ref/fate/filter-pixfmts-pad
+++ b/tests/ref/fate/filter-pixfmts-pad
@@ -22,7 +22,6 @@ gray16le 468bda6155bdc7a7a20c34d6e599fd16
gray9le f8f3dfe31ca5fcba828285bceefdab9a
nv12 381574979cb04be10c9168540310afad
nv21 0fdeb2cdd56cf5a7147dc273456fa217
-p016le 536a3b4c3b47d005f9ab033370cc1c3b
rgb0 78d500c8361ab6423a4826a00268c908
rgb24 17f9e2e0c609009acaf2175c42d4a2a5
rgba b157c90191463d34fb3ce77b36c96386
More information about the ffmpeg-cvslog
mailing list