[x265] [PATCH 1 of 2] fix VC9 compile error

Min Chen chenm003 at 163.com
Thu Aug 15 20:19:55 CEST 2013


# HG changeset patch
# User Min Chen <chenm003 at 163.com>
# Date 1376590754 -28800
# Node ID b079ba16208f86c8b9f915e420cb4f5ac6609a0e
# Parent  23d8d29c5242b0898663b5a938f3d37028fc34bd
fix VC9 compile error

diff -r 23d8d29c5242 -r b079ba16208f source/encoder/frameencoder.cpp
--- a/source/encoder/frameencoder.cpp	Thu Aug 15 11:01:19 2013 -0500
+++ b/source/encoder/frameencoder.cpp	Fri Aug 16 02:19:14 2013 +0800
@@ -468,7 +468,7 @@
             {
                 cuTr = pic->getCU(cuAddr - widthInCU + 1);
             }
-            if (true /*bEnforceSliceRestriction*/ && ((cuTr == NULL) || (cuTr->getSlice() == NULL)))
+            if (/*bEnforceSliceRestriction &&*/ ((cuTr == NULL) || (cuTr->getSlice() == NULL)))
             {
                 // TR not available.
             }



More information about the x265-devel mailing list