Commit b44deca9 authored by David Barker's avatar David Barker Committed by Debargha Mukherjee

Fix bug introduced by commit 01563088

When fixing one bug in av1_decode_tg_tiles_and_wrapup, I seem to have
introduced another bug. This was due to checking the wrong condition
on whether to update the frame context at the end of the frame.

BUG=aomedia:1001

Change-Id: I929a710e2de31a89cc7899fb1605ca7edf968a87
parent ff090b86
......@@ -3887,7 +3887,8 @@ void av1_decode_tg_tiles_and_wrapup(AV1Decoder *pbi, const uint8_t *data,
#endif
// Non frame parallel update frame context here.
if (cm->refresh_frame_context != REFRESH_FRAME_CONTEXT_FORWARD) {
if (!cm->frame_parallel_decode ||
cm->refresh_frame_context != REFRESH_FRAME_CONTEXT_FORWARD) {
#if CONFIG_NO_FRAME_CONTEXT_SIGNALING
cm->frame_contexts[cm->new_fb_idx] = *cm->fc;
#else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment