Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libswscale/utils.c')
-rw-r--r--libswscale/utils.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libswscale/utils.c b/libswscale/utils.c
index de0c7f968a..074f8c0d13 100644
--- a/libswscale/utils.c
+++ b/libswscale/utils.c
@@ -1158,6 +1158,14 @@ av_cold int sws_init_context(SwsContext *c, SwsFilter *srcFilter,
if (flags & SWS_FULL_CHR_H_INT &&
isAnyRGB(dstFormat) &&
!isPlanarRGB(dstFormat) &&
+ dstFormat != AV_PIX_FMT_RGBA64LE &&
+ dstFormat != AV_PIX_FMT_RGBA64BE &&
+ dstFormat != AV_PIX_FMT_BGRA64LE &&
+ dstFormat != AV_PIX_FMT_BGRA64BE &&
+ dstFormat != AV_PIX_FMT_RGB48LE &&
+ dstFormat != AV_PIX_FMT_RGB48BE &&
+ dstFormat != AV_PIX_FMT_BGR48LE &&
+ dstFormat != AV_PIX_FMT_BGR48BE &&
dstFormat != AV_PIX_FMT_RGBA &&
dstFormat != AV_PIX_FMT_ARGB &&
dstFormat != AV_PIX_FMT_BGRA &&