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:
Lukasz Marek
2014-11-17 02:23:22 +01:00
parent e98aced699
commit d57a6d2087
2 changed files with 58 additions and 57 deletions

View File

@ -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);