Skip to content

Commit

Permalink
Small refactoring in vp9_firstpass.c
Browse files Browse the repository at this point in the history
Change-Id: If5e76b05f584650ff675363e6eb347bedae7728c
  • Loading branch information
Angie Chiang committed Jul 19, 2024
1 parent 9a1e8ae commit 057e53d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions vp9/encoder/vp9_firstpass.c
Original file line number Diff line number Diff line change
Expand Up @@ -2994,13 +2994,11 @@ static void define_gf_group(VP9_COMP *cpi, int gf_start_show_idx) {
// we should refactor the code so that this part is not used by
// ext_ratectrl.
break;
} else {
vpx_internal_error(&cm->error, VPX_CODEC_ERROR,
"In define_gf_group(), frame_stats is NULL when "
"calculating gf_group_err.");

break;
}
vpx_internal_error(&cm->error, VPX_CODEC_ERROR,
"In define_gf_group(), frame_stats is NULL when "
"calculating gf_group_err.");
break;
}
// Accumulate error score of frames in this gf group.
gf_group_err += calc_norm_frame_score(oxcf, frame_info, frame_stats,
Expand Down

0 comments on commit 057e53d

Please sign in to comment.