[x265] [PATCH] slicetype: fix crash when rc-lookahead = bframes

Steve Borho steve at borho.org
Mon Mar 9 16:48:44 CET 2015


On 03/09, Deepthi Nandakumar wrote:
> slicetypeAnalyse::maxSearch also needs to be changed, or you could trigger
> another crash using --b-adapt 1.
> 
> It seems to me, under the hood we're just incrementing lookaheadDepth. That
> may be the right thing to do here, or do a CHECK for lookaheadDepth >=
> bframes?

We have:

CHECK(param->bframes > param->lookaheadDepth && !param->rc.bStatRead,                                                             
      "Lookahead depth must be greater than the max consecutive bframe count");

is this not sufficient?

-- 
Steve Borho


More information about the x265-devel mailing list