优化代码

This commit is contained in:
xiongziliang 2019-12-03 12:43:48 +08:00
parent c55f26fba7
commit b50a34bf1f

View File

@ -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 {