diff options
Diffstat (limited to 'content/common/gpu/media/h264_dpb.cc')
-rw-r--r-- | content/common/gpu/media/h264_dpb.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/common/gpu/media/h264_dpb.cc b/content/common/gpu/media/h264_dpb.cc index 2de3f97..a512644 100644 --- a/content/common/gpu/media/h264_dpb.cc +++ b/content/common/gpu/media/h264_dpb.cc @@ -30,7 +30,7 @@ void H264DPB::RemoveByPOC(int poc) { void H264DPB::RemoveUnused() { for (Pictures::iterator it = pics_.begin(); it != pics_.end(); ) { if ((*it)->outputted && !(*it)->ref) - pics_.erase(it++); + it = pics_.erase(it); else ++it; } |