From 133f69e93bf5140f77c3863eedd73271920bfb93 Mon Sep 17 00:00:00 2001 From: casey langen Date: Mon, 29 May 2017 07:33:04 -0700 Subject: [PATCH] Fixed a bug where pruning the transcoder data cache could get stuck in an infinite loop. --- src/plugins/websocket_remote/Transcoder.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/websocket_remote/Transcoder.cpp b/src/plugins/websocket_remote/Transcoder.cpp index 5eeb1b7b2..0a395c539 100644 --- a/src/plugins/websocket_remote/Transcoder.cpp +++ b/src/plugins/websocket_remote/Transcoder.cpp @@ -96,6 +96,7 @@ void Transcoder::PruneTranscodeCache(Context& context) { if (remove(p, ec)) { --extra; } + ++it; } }