diff options
author | Pierre Ossman <ossman@cendio.se> | 2025-01-06 14:43:57 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2025-01-10 17:02:11 +0100 |
commit | 784897bbac9382a6398ee87b99e0b27b6fa5c8b8 (patch) | |
tree | e0ee4cbff47045f4e5d1b5d6ce3f442ea9439851 /common/rfb/H264Decoder.h | |
parent | f57dddb6143257d185ed665b7cfd24364db574dc (diff) | |
download | tigervnc-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.h | 4 |
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; }; } |