OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d4102f
)
pngdec: Fix interlaced PAETH prediction
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 6 Sep 2011 14:22:38 +0000
(16:22 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 6 Sep 2011 14:22:38 +0000
(16:22 +0200)
Fixes Ticket161
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/pngdec.c
patch
|
blob
|
history
diff --git
a/libavcodec/pngdec.c
b/libavcodec/pngdec.c
index
4fe2884
..
5abdb90
100644
(file)
--- a/
libavcodec/pngdec.c
+++ b/
libavcodec/pngdec.c
@@
-317,6
+317,7
@@
static void png_handle_row(PNGDecContext *s)
}
s->y++;
if (s->y == s->height) {
+ memset(s->last_row, 0, s->row_size);
for(;;) {
if (s->pass == NB_PASSES - 1) {
s->state |= PNG_ALLIMAGE;