diff --git a/trunk/src/app/srs_app_http_stream.cpp b/trunk/src/app/srs_app_http_stream.cpp index 4e141e4c2..d154da9b0 100644 --- a/trunk/src/app/srs_app_http_stream.cpp +++ b/trunk/src/app/srs_app_http_stream.cpp @@ -1076,7 +1076,7 @@ SrsHttpStreamServer::SrsHttpStreamServer() void SrsHttpStreamServer::assemble() { SrsHttpServeMux *mux = dynamic_cast(mux_); - if (!mux) { + if (mux) { mux->add_dynamic_matcher(this); } }