Skip to content

Commit

Permalink
fix flv bodys not clear problem
Browse files Browse the repository at this point in the history
  • Loading branch information
winking324 committed Oct 16, 2018
1 parent 42dbbdf commit a47fd2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/controller/flv_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ bool FlvParser::ParseData(const std::string &data) {
void FlvParser::Reset() {
buffer_.clear();
has_header_ = false;
flv_bodys_.clear();
}

YAML::Node FlvParser::Detail(int index) {
Expand Down
1 change: 1 addition & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ int main(int argc, char *argv[]) {

return a.exec();
}

0 comments on commit a47fd2f

Please sign in to comment.