diff libswscale/swscale.c @ 29329:d1f5b68b68f3

Do not call rgb2rgbWrapper() for rgb48*, there is no special converter yet for those formats
author vitor
date Wed, 17 Jun 2009 18:40:19 +0000
parents 116ed5c6c367
children 6f1e9ed64b78
line wrap: on
line diff
--- a/libswscale/swscale.c	Wed Jun 17 09:16:19 2009 +0000
+++ b/libswscale/swscale.c	Wed Jun 17 18:40:19 2009 +0000
@@ -2732,6 +2732,8 @@
            && srcFormat != PIX_FMT_MONOWHITE && dstFormat != PIX_FMT_MONOWHITE
                                              && dstFormat != PIX_FMT_RGB32_1
                                              && dstFormat != PIX_FMT_BGR32_1
+           && srcFormat != PIX_FMT_RGB48LE   && dstFormat != PIX_FMT_RGB48LE
+           && srcFormat != PIX_FMT_RGB48BE   && dstFormat != PIX_FMT_RGB48BE
            && (!needsDither || (c->flags&(SWS_FAST_BILINEAR|SWS_POINT))))
              c->swScale= rgb2rgbWrapper;