[FFmpeg-cvslog] r27594 - trunk/libswscale/swscale.c
michael
subversion
Sat Sep 13 01:52:38 CEST 2008
Author: michael
Date: Sat Sep 13 01:52:37 2008
New Revision: 27594
Log:
yvu9toyv12Wrapper is not bitexact so disable it when the user wants
bitexactness to C.
Modified:
trunk/libswscale/swscale.c
Modified: trunk/libswscale/swscale.c
==============================================================================
--- trunk/libswscale/swscale.c (original)
+++ trunk/libswscale/swscale.c Sat Sep 13 01:52:37 2008
@@ -2172,7 +2172,7 @@ SwsContext *sws_getContext(int srcW, int
}
#endif
- if (srcFormat==PIX_FMT_YUV410P && dstFormat==PIX_FMT_YUV420P)
+ if (srcFormat==PIX_FMT_YUV410P && dstFormat==PIX_FMT_YUV420P && !(flags & SWS_BITEXACT))
{
c->swScale= yvu9toyv12Wrapper;
}
More information about the ffmpeg-cvslog
mailing list