[x265] [PATCH] search: fix decoder crash for analysis-mode=load
gopu at multicorewareinc.com
gopu at multicorewareinc.com
Mon Feb 16 12:53:17 CET 2015
# HG changeset patch
# User Gopu Govindaswamy <gopu at multicorewareinc.com>
# Date 1424087576 -19800
# Mon Feb 16 17:22:56 2015 +0530
# Node ID 409d404ae333773cd9f322a57bbf7cf3f605faa6
# Parent 2495fbd5792104c96c4ca5faf18807cc45a35da0
search: fix decoder crash for analysis-mode=load
diff -r 2495fbd57921 -r 409d404ae333 source/encoder/search.cpp
--- a/source/encoder/search.cpp Mon Feb 16 16:16:04 2015 +0530
+++ b/source/encoder/search.cpp Mon Feb 16 17:22:56 2015 +0530
@@ -1697,7 +1697,7 @@
uint32_t maxMode = NUM_CHROMA_MODE;
uint32_t modeList[NUM_CHROMA_MODE];
- if (sharedChromaModes)
+ if (sharedChromaModes && !initTuDepth)
{
for (uint32_t l = 0; l < NUM_CHROMA_MODE; l++)
modeList[l] = sharedChromaModes[0];
More information about the x265-devel
mailing list