You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
mss1: fix decoding masked regions in interframes
Spotted by Alberto Delmás
This commit is contained in:
@@ -499,7 +499,7 @@ static int decode_region_masked(MSS1Context *ctx, ArithCoder *acoder,
|
|||||||
dst += x + y * stride;
|
dst += x + y * stride;
|
||||||
mask += x + y * mask_stride;
|
mask += x + y * mask_stride;
|
||||||
|
|
||||||
if (mask[0] != 0xFF)
|
if (mask[0] == 0xFF)
|
||||||
dst[0] = decode_top_left_pixel(acoder, pctx);
|
dst[0] = decode_top_left_pixel(acoder, pctx);
|
||||||
for (j = 0; j < height; j++) {
|
for (j = 0; j < height; j++) {
|
||||||
for (i = 0; i < width; i++) {
|
for (i = 0; i < width; i++) {
|
||||||
|
Reference in New Issue
Block a user