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

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.


Change-Id: I929a710e2de31a89cc7899fb1605ca7edf968a87
parent ff090b86
......@@ -3887,7 +3887,8 @@ void av1_decode_tg_tiles_and_wrapup(AV1Decoder *pbi, const uint8_t *data,
// 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) {
cm->frame_contexts[cm->new_fb_idx] = *cm->fc;
Supports Markdown
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