aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/H264Decoder.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2025-01-06 14:43:57 +0100
committerPierre Ossman <ossman@cendio.se>2025-01-10 17:02:11 +0100
commit784897bbac9382a6398ee87b99e0b27b6fa5c8b8 (patch)
treee0ee4cbff47045f4e5d1b5d6ce3f442ea9439851 /common/rfb/H264Decoder.h
parentf57dddb6143257d185ed665b7cfd24364db574dc (diff)
downloadtigervnc-784897bbac9382a6398ee87b99e0b27b6fa5c8b8.tar.gz
tigervnc-784897bbac9382a6398ee87b99e0b27b6fa5c8b8.zip
Always reset H.264 contexts the same way
Reset individual contexts the same way we reset all contexts, i.e. by deleting and recreating them. Avoids surprises by having a consistent method.
Diffstat (limited to 'common/rfb/H264Decoder.h')
-rw-r--r--common/rfb/H264Decoder.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/rfb/H264Decoder.h b/common/rfb/H264Decoder.h
index 46d25e33..6f2dabfb 100644
--- a/common/rfb/H264Decoder.h
+++ b/common/rfb/H264Decoder.h
@@ -21,7 +21,7 @@
#ifndef __RFB_H264DECODER_H__
#define __RFB_H264DECODER_H__
-#include <deque>
+#include <list>
#include <rfb/Decoder.h>
@@ -43,7 +43,7 @@ namespace rfb {
void resetContexts();
H264DecoderContext* findContext(const Rect& r);
- std::deque<H264DecoderContext*> contexts;
+ std::list<H264DecoderContext*> contexts;
};
}