projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f39bbc9
)
mss1: fix decoding masked regions in interframes
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Tue, 10 Jul 2012 11:38:56 +0000
(13:38 +0200)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Tue, 10 Jul 2012 11:58:05 +0000
(13:58 +0200)
Spotted by Alberto Delmás
libavcodec/mss1.c
patch
|
blob
|
history
diff --git
a/libavcodec/mss1.c
b/libavcodec/mss1.c
index
523a961
..
6eb9f14
100644
(file)
--- a/
libavcodec/mss1.c
+++ b/
libavcodec/mss1.c
@@
-499,7
+499,7
@@
static int decode_region_masked(MSS1Context *ctx, ArithCoder *acoder,
dst += x + y * stride;
mask += x + y * mask_stride;
- if (mask[0]
!
= 0xFF)
+ if (mask[0]
=
= 0xFF)
dst[0] = decode_top_left_pixel(acoder, pctx);
for (j = 0; j < height; j++) {
for (i = 0; i < width; i++) {