diff --git a/libavcodec/prosumer.c b/libavcodec/prosumer.c index 399350031a..9e8a94d4db 100644 --- a/libavcodec/prosumer.c +++ b/libavcodec/prosumer.c @@ -290,14 +290,13 @@ static void fill_elements(uint32_t idx, uint32_t shift, int size, uint32_t *e0, if (table[2 * i] >> 8 == 0x80u) { return; } else { + *e0 = (*e0 & 0xFFFFFFu) | (((12 + b - shift) | (0x40u<