# HG changeset patch # User Aarthi Thirumalai # Date 1393359394 -19800 # Wed Feb 26 01:46:34 2014 +0530 # Node ID 94fdd039f101eb2afb580b0320524dce2dcea51d # Parent b456566376adae3c3323fda9b272f853852041cc lookahead: bug fix - don't overwrite lastNonB reference with current Frame. closes issue #26.
'lastNonB' state is already replaced with current frame's lowres at this point. Don't overwrite frame[0] containing actual ref to lastNonB with current frame lowres. diff -r b456566376ad -r 94fdd039f101 source/encoder/slicetype.cpp --- a/source/encoder/slicetype.cpp Tue Feb 25 11:20:47 2014 -0600 +++ b/source/encoder/slicetype.cpp Wed Feb 26 01:46:34 2014 +0530 @@ -324,7 +324,6 @@ int p0, p1, b; p1 = b = bframes + 1; - frames[0] = lastNonB; for (int i = 0; i <= bframes; i++) { frames[i + 1] = &list[i]->m_lowres; _______________________________________________ x265-devel mailing list x265-devel@videolan.org https://mailman.videolan.org/listinfo/x265-devel