diff options
author | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2018-03-07 00:36:21 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2018-03-08 11:56:41 +0100 |
commit | 9fe61b61074b013bc0a9289a207efce2107bfbcf (patch) | |
tree | 63b612ac9d3a1cdbb38e6e67059870a218e90e31 /libavfilter/drawutils.c | |
parent | 2b2c8b22da9f9f0005b619a539023afbad1a1edd (diff) | |
download | ffmpeg-9fe61b61074b013bc0a9289a207efce2107bfbcf.tar.gz |
lavfi/drawutils: Do not claim to support P016.
Fixes fate on big-endian.
Diffstat (limited to 'libavfilter/drawutils.c')
-rw-r--r-- | libavfilter/drawutils.c | 2 |
1 files changed, 1 insertions, 1 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]; |