1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

[bugfix]:clear cache_header_index when clear LasCache

This commit is contained in:
liulichuan 2020-07-02 20:31:40 +08:00 committed by winlin
parent c1f98ddcc8
commit 4048869bce

View file

@ -1095,6 +1095,7 @@ void SrsLasCache::clear()
}
cache_vec.clear();
cache_idr_index.clear();
cache_header_index.clear();
wait_keyframe = true;
srs_freep(cached_video_header);
srs_freep(cached_audio_header);