changeset 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 c2ace2a6a01c
children 15b88aba9fe6
files libswscale/swscale.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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;