diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2020-04-08 12:22:01 +0200 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2020-04-08 12:22:01 +0200 |
commit | 4c5fa4928a2ac8118a2dd93fb42ced92430fb7ec (patch) | |
tree | ac3ff46cb55feaa1dcd06a4bf6beef562b83e2d7 | |
parent | 8e53cadb23b6f9565c0a7f477b65c5babddaa7f4 (diff) | |
download | nihav-4c5fa4928a2ac8118a2dd93fb42ced92430fb7ec.tar.gz |
codec_support/h263: fix slice reset condition
-rw-r--r-- | nihav-codec-support/src/codecs/h263/decoder.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nihav-codec-support/src/codecs/h263/decoder.rs b/nihav-codec-support/src/codecs/h263/decoder.rs index 9828d0b..1d67032 100644 --- a/nihav-codec-support/src/codecs/h263/decoder.rs +++ b/nihav-codec-support/src/codecs/h263/decoder.rs @@ -485,7 +485,7 @@ impl H263BaseDecoder { slice_start = mb_pos; } slice = bd.decode_slice_header(&pinfo)?; - if !self.is_gob && self.slice_reset { + if self.is_gob || self.slice_reset { mvi.reset(self.mb_w, mb_x, pinfo.get_mvmode()); if is_b || pinfo.is_pb() { mvi2.reset(self.mb_w, mb_x, pinfo.get_mvmode()); |