[haiku-commits] r34959 - haiku/trunk/src/add-ons/media/plugins/ffmpeg

  • From: dlmcpaul@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 8 Jan 2010 22:27:42 +0100 (CET)

Author: dlmcpaul
Date: 2010-01-08 22:27:42 +0100 (Fri, 08 Jan 2010)
New Revision: 34959
Changeset: http://dev.haiku-os.org/changeset/34959/haiku

Modified:
   haiku/trunk/src/add-ons/media/plugins/ffmpeg/gfx_util.cpp
Log:
Cleanup

Modified: haiku/trunk/src/add-ons/media/plugins/ffmpeg/gfx_util.cpp
===================================================================
--- haiku/trunk/src/add-ons/media/plugins/ffmpeg/gfx_util.cpp   2010-01-08 
20:39:08 UTC (rev 34958)
+++ haiku/trunk/src/add-ons/media/plugins/ffmpeg/gfx_util.cpp   2010-01-08 
21:27:42 UTC (rev 34959)
@@ -46,7 +46,7 @@
                        }
 
                        if (pixelFormat == PIX_FMT_YUV420P || pixelFormat == 
PIX_FMT_YUVJ420P) {
-                               if (cpu.HasSSE2() &&  width % 8 == 0 && height 
% 2 == 0 ) {
+                               if (cpu.HasSSE2() && width % 8 == 0 && height % 
2 == 0) {
                                        TRACE("resolve_colorspace: 
gfx_conv_yuv420p_rgba32_sse2\n");
                                        return gfx_conv_yuv420p_rgba32_sse2;
                                } else {


Other related posts:

  • » [haiku-commits] r34959 - haiku/trunk/src/add-ons/media/plugins/ffmpeg - dlmcpaul