Hi!
Attached patch fixes ticket #4887 for me.
Please comment, Carl Eugen
diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c
index ee11f12..c794b47 100644
--- a/libavcodec/pngdec.c
+++ b/libavcodec/pngdec.c
@@ -1077,6 +1077,7 @@ static int decode_frame_common(AVCodecContext *avctx,
PNGDecContext *s,
int decode_next_dat = 0;
int ret;
+ s->has_trns = 0;
for (;;) {
length = bytestream2_get_bytes_left(&s->gb);
if (length <= 0) {
_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel