Skip to content

Commit

Permalink
H264Decoder: Fix context reset
Browse files Browse the repository at this point in the history
This fixes a regression introduced by
12b3f40.
  • Loading branch information
any1 committed Jul 22, 2024
1 parent 422444a commit 9abcf0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/rfb/H264Decoder.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ void H264Decoder::decodeRect(const Rect& r, const uint8_t* buffer,
if (!ctx->isReady())
throw Exception("H264Decoder: Context is not ready");

if (flags & resetContext)
if (reset & resetContext)
ctx->reset();

if (!len)
Expand Down

0 comments on commit 9abcf0e

Please sign in to comment.