[FFmpeg-devel] unable to decode png file.

UrdnotFirebug powersheld at gmail.com
Tue Oct 7 13:44:35 CEST 2014

thanks for replying so quickly. in my case(ffmpeg 2.4.1), problem was
decoder. i've solve the issue.

png did not decoded without flushing decoder which using
avcodec_decode_video2 with NULL packet.(this flush code was in demuxing_
decoding example)

with flushing decoder, finally it can decode png frame well.

and as you said, in 2.4.2, it can decoded perfectly without 'Input/output

thanks :)

On Tue, Oct 7, 2014 at 8:14 PM, Michael Niedermayer <michaelni at gmx.at>

> On Tue, Oct 07, 2014 at 04:36:50PM +0900, UrdnotFirebug wrote:
> > Hi Michael.i'm using FFmpeg 2.4.1 built on gcc 4.4.7
> please try with 2.4.2, there where several bugfixes in the png
> handling
> [...]
> --
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
> Those who are best at talking, realize last or never when they are wrong.

*"You never know how strong you are until being strong is the only option
you have left."*

More information about the ffmpeg-devel mailing list