ffserver_conf: factorize parse function per config tag
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
This commit is contained in:
parent
d2f8ca4959
commit
27c61c32ce
1108
ffserver_config.c
1108
ffserver_config.c
File diff suppressed because it is too large
Load Diff
@ -104,6 +104,13 @@ typedef struct FFServerConfig {
|
||||
char logfilename[1024];
|
||||
struct sockaddr_in http_addr;
|
||||
struct sockaddr_in rtsp_addr;
|
||||
int errors;
|
||||
int warnings;
|
||||
// Following variables MUST NOT be used outside configuration parsing code.
|
||||
AVCodecContext audio_enc;
|
||||
AVCodecContext video_enc;
|
||||
enum AVCodecID audio_id;
|
||||
enum AVCodecID video_id;
|
||||
|
||||
} FFServerConfig;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user