This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avcodec/pngdec: reset has_trns after every decode_frame_png()
Fixes
#4887
. Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n3.0
Paul B Mahol
10 years ago
parent
69e456d7fb
commit
1d0487f77f
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/pngdec.c
+ 1
- 1
libavcodec/pngdec.c
View File
@@ -1254,7 +1254,7 @@ static int decode_frame_png(AVCodecContext *avctx,
return AVERROR_INVALIDDATA;
}
s->y = s->state = 0;
s->y = s->state =
s->has_trns =
0;
/* init the zlib */
s->zstream.zalloc = ff_png_zalloc;
Write
Preview
Loading…
Cancel
Save