Commit b50a34bf by xiongziliang

优化代码

parent c55f26fb
...@@ -104,7 +104,7 @@ vector<Track::Ptr> Demuxer::getTracks(bool trackReady) const { ...@@ -104,7 +104,7 @@ vector<Track::Ptr> Demuxer::getTracks(bool trackReady) const {
ret.emplace_back(_audioTrack); ret.emplace_back(_audioTrack);
} }
} }
return ret; return std::move(ret);
} }
float Demuxer::getDuration() const { float Demuxer::getDuration() const {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论