ffserver_conf: factorize parse function per config tag

Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
pull/87/merge
Lukasz Marek 10 years ago
parent d2f8ca4959
commit 27c61c32ce
  1. 1124
      ffserver_config.c
  2. 7
      ffserver_config.h

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…
Cancel
Save