[FFmpeg-cvslog] r29371 - trunk/libswscale/swscale.c

vitor subversion
Wed Jun 17 20:40:19 CEST 2009


Author: vitor
Date: Wed Jun 17 20:40:19 2009
New Revision: 29371

Log:
Do not call rgb2rgbWrapper() for rgb48*, there is no special  converter 
yet for those formats

Modified:
   trunk/libswscale/swscale.c

Modified: trunk/libswscale/swscale.c
==============================================================================
--- trunk/libswscale/swscale.c	Wed Jun 17 11:16:19 2009	(r29370)
+++ trunk/libswscale/swscale.c	Wed Jun 17 20:40:19 2009	(r29371)
@@ -2732,6 +2732,8 @@ SwsContext *sws_getContext(int srcW, int
            && 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;
 



More information about the ffmpeg-cvslog mailing list