[FFmpeg-devel] [PATCH 3/6] avcodec/apng: Dispose previous frame properly

Paul B Mahol onemda at gmail.com
Mon Jun 8 14:28:05 CEST 2015


On 6/7/15, Donny Yang <work at kota.moe> wrote:
> The spec specifies the dispose operation as how the current (i.e.,
> currently
> being rendered) frame should be disposed when the next frame is blended onto
> it
>
> This is contrary to ffmpeg's current behaviour of interpreting the dispose
> operation as how the previous (i.e., already rendered) frame should be
> disposed
>
> This patch fixes ffmpeg's behaviour to match those of the spec, which
> involved
> a rewrite of the blending function
>
> Signed-off-by: Donny Yang <work at kota.moe>
> ---
>  libavcodec/pngdec.c | 179
> +++++++++++++++++++++++++++-------------------------
>  1 file changed, 92 insertions(+), 87 deletions(-)
>

lgtm


More information about the ffmpeg-devel mailing list