ffserver_config: cosmetic: move line_num into FFServerConfig
Moving line_num into FFServerConfig as parser state, saves many passes of it aside of FFServerConfig pointer.
This commit is contained in:
@ -117,6 +117,7 @@ typedef struct FFServerConfig {
|
||||
AVCodecContext *dummy_vctx; /* Used internally to test video AVOptions. */
|
||||
int no_audio;
|
||||
int no_video;
|
||||
int line_num;
|
||||
} FFServerConfig;
|
||||
|
||||
void ffserver_get_arg(char *buf, int buf_size, const char **pp);
|
||||
|
Reference in New Issue
Block a user