[x265] [PATCH] Fixed compilation with LOG_CU_STATISTICS ON

Peter Kovář peter.kovar at gmail.com
Mon Jan 20 12:46:58 CET 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

diff -r 9f7fca027b41 source/encoder/encoder.cpp
- --- a/source/encoder/encoder.cpp	Fri Jan 17 14:36:07 2014 +0800
+++ b/source/encoder/encoder.cpp	Mon Jan 20 12:39:48 2014 +0100
@@ -546,7 +546,7 @@
                         len += sprintf(stats + len, " %dx%d: "LL"%%",
cuSize/2, cuSize/2, cntIntraNxN);
                 }
             }
- -            const char slicechars = "BPI";
+            const char slicechars[] = "BPI";
             if (stats[0])
                 x265_log(&param, X265_LOG_INFO, "%c%-2d: %s\n",
slicechars[sliceType], cuSize, stats);
         }

Cheers,

Peter Kovář
50 65 74 65 72 20 4B 6F 76 C3 A1 C5 99
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJS3QyyAAoJEHrTine5GfNcAgQIAOeVDahK1ZRYPZWkulmWl/kD
+kH8WRiMiW5vT5yEWsFgBoY0glDNnbE6PL2k89R5Vo7hkfB9QJb5mtVGaO/s62qy
X2kkBbnv3V9aLS8lcgTdETzuyZUbSycWjNmoAUU5KR8f1FIT0noJe09QX53nP9Jh
UylCe5wu3RGjpw9HbPUwb7uiwMPwzmqLKUiRsNFiJ3TRONjqWhGO4yfYxuVKoOWf
ZKNEsh/mwPa8EUeDJsI7zT+4fqqDajndlastt0cnyKvnm+Ad2aZ6HusnPFh86Es6
mRD2qmkSiLCe2DpmB0lDTBBqcpVs6N0mx4PO53yXg5njsj3KsNSTEGAnr1htXa4=
=6Dt8
-----END PGP SIGNATURE-----


More information about the x265-devel mailing list