From: Kostya Shishkov Date: Fri, 10 Apr 2020 17:41:11 +0000 (+0200) Subject: rv10: remove invalid chroma DC code -128 X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=cd18e9d6925d272f5259e1beabc337b9bc6fd8f6;p=nihav.git rv10: remove invalid chroma DC code -128 --- diff --git a/nihav-realmedia/src/codecs/rv10.rs b/nihav-realmedia/src/codecs/rv10.rs index bf7181d..f5e0c8d 100644 --- a/nihav-realmedia/src/codecs/rv10.rs +++ b/nihav-realmedia/src/codecs/rv10.rs @@ -604,7 +604,7 @@ const RV10_LUMA_DC_BITS: &[u8] = &[ ]; const RV10_CHROMA_DC_CODES: &[u16] = &[ - 0x003f, 0x3f00, 0x3f01, 0x3f02, 0x3f03, 0x3f04, 0x3f05, 0x3f06, + 0x0000, 0x3f00, 0x3f01, 0x3f02, 0x3f03, 0x3f04, 0x3f05, 0x3f06, 0x3f07, 0x3f08, 0x3f09, 0x3f0a, 0x3f0b, 0x3f0c, 0x3f0d, 0x3f0e, 0x3f0f, 0x3f10, 0x3f11, 0x3f12, 0x3f13, 0x3f14, 0x3f15, 0x3f16, 0x3f17, 0x3f18, 0x3f19, 0x3f1a, 0x3f1b, 0x3f1c, 0x3f1d, 0x3f1e, @@ -639,7 +639,7 @@ const RV10_CHROMA_DC_CODES: &[u16] = &[ ]; const RV10_CHROMA_DC_BITS: &[u8] = &[ - 7, 14, 14, 14, 14, 14, 14, 14, + 0, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14,