Commit 27c61c32 authored by Lukasz Marek's avatar Lukasz Marek

ffserver_conf: factorize parse function per config tag

Signed-off-by: 's avatarLukasz Marek <lukasz.m.luki2@gmail.com>
parent d2f8ca49
This diff is collapsed.
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment