Message ID | 20180424190501.23908-3-cus@passwd.hu |
---|---|
State | Accepted |
Commit | 4c501bafc08c0260c299074d119b85ba39ab334a |
Headers | show |
On Tue, Apr 24, 2018 at 09:04:59PM +0200, Marton Balint wrote: > Signed-off-by: Marton Balint <cus@passwd.hu> > --- > libavcodec/hnm4video.c | 1 + > 1 file changed, 1 insertion(+) LGTM thx [...]
diff --git a/libavcodec/hnm4video.c b/libavcodec/hnm4video.c index a64dbb1746..9e1ac49ddc 100644 --- a/libavcodec/hnm4video.c +++ b/libavcodec/hnm4video.c @@ -375,6 +375,7 @@ static void hnm_update_palette(AVCodecContext *avctx, uint8_t *src, hnm->palette[writeoffset] = bytestream2_get_be24(&gb); if (!eight_bit_colors) hnm->palette[writeoffset] <<= 2; + hnm->palette[writeoffset] |= (0xFFU << 24); count--; writeoffset++; }
Signed-off-by: Marton Balint <cus@passwd.hu> --- libavcodec/hnm4video.c | 1 + 1 file changed, 1 insertion(+)