Commit 12753b61 authored by Jim Bankoski's avatar Jim Bankoski Committed by Gerrit Code Review
Browse files

Merge "corrupted frames shouldn't affect stats"

parents a55cb659 29af017f
...@@ -1370,7 +1370,8 @@ int vp9_decode_frame(VP9Decoder *pbi, ...@@ -1370,7 +1370,8 @@ int vp9_decode_frame(VP9Decoder *pbi,
"A stream must start with a complete key frame"); "A stream must start with a complete key frame");
} }
if (!cm->error_resilient_mode && !cm->frame_parallel_decoding_mode) { if (!cm->error_resilient_mode && !cm->frame_parallel_decoding_mode &&
!new_fb->corrupted) {
vp9_adapt_coef_probs(cm); vp9_adapt_coef_probs(cm);
if (!frame_is_intra_only(cm)) { if (!frame_is_intra_only(cm)) {
......
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