diff options
author | Lukasz Marek <lukasz.m.luki2@gmail.com> | 2014-10-19 16:37:16 +0200 |
---|---|---|
committer | Lukasz Marek <lukasz.m.luki2@gmail.com> | 2014-10-22 22:37:40 +0200 |
commit | 27c61c32cee4d4944da15226b56901926136214f (patch) | |
tree | 665eecd6db01fc36f6dc1fc072d4588f1cfa2f8b /ffserver_config.h | |
parent | d2f8ca4959a146ee97702d963eb48620519f2e64 (diff) | |
download | ffmpeg-27c61c32cee4d4944da15226b56901926136214f.tar.gz |
ffserver_conf: factorize parse function per config tag
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Diffstat (limited to 'ffserver_config.h')
-rw-r--r-- | ffserver_config.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ffserver_config.h b/ffserver_config.h index b19b3fe95a..36d61d0084 100644 --- a/ffserver_config.h +++ b/ffserver_config.h @@ -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; |