From cef1ae5a8e4a6ece1e7ea2b33fbd9cb069d1cf05 Mon Sep 17 00:00:00 2001 From: winlin Date: Wed, 28 Oct 2015 12:55:16 +0800 Subject: [PATCH] fix the config bug. --- trunk/src/app/srs_app_config.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/src/app/srs_app_config.cpp b/trunk/src/app/srs_app_config.cpp index 477a3eca6..90f949293 100644 --- a/trunk/src/app/srs_app_config.cpp +++ b/trunk/src/app/srs_app_config.cpp @@ -4751,7 +4751,7 @@ double SrsConfig::get_send_min_interval(string vhost) } conf = conf->get("play"); - if (!conf || conf->arg0().empty()) { + if (!conf) { return DEFAULT; } @@ -4773,7 +4773,7 @@ bool SrsConfig::get_reduce_sequence_header(string vhost) } conf = conf->get("play"); - if (!conf || conf->arg0().empty()) { + if (!conf) { return DEFAULT; }