Skip to content

Commit

Permalink
Remove static from vars in parse_stream_params()
Browse files Browse the repository at this point in the history
Those variables in parse_stream_params() don't need to be function-scope
static variables.

Change-Id: I5e0b0f78deb0aa8b4f95dcd2352d89342b9d528a
  • Loading branch information
wantehchang committed Jun 28, 2024
1 parent 2693255 commit ac117ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vpxenc.c
Original file line number Diff line number Diff line change
Expand Up @@ -898,8 +898,8 @@ static int parse_stream_params(struct VpxEncoderConfig *global,
struct stream_state *stream, char **argv) {
char **argi, **argj;
struct arg arg;
static const arg_def_t **ctrl_args = no_args;
static const int *ctrl_args_map = NULL;
const arg_def_t **ctrl_args = no_args;
const int *ctrl_args_map = NULL;
struct stream_config *config = &stream->config;
int eos_mark_found = 0;
#if CONFIG_VP9_HIGHBITDEPTH
Expand Down

0 comments on commit ac117ca

Please sign in to comment.