Skip to content
Snippets Groups Projects
Commit ed09bb37 authored by Donny Yang's avatar Donny Yang Committed by Michael Niedermayer
Browse files

avcodec/apng: Dispose previous frame properly


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: default avatarDonny Yang <work@kota.moe>
Reviewed-by: default avatarPaul B Mahol <onemda@gmail.com>
Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent 6dd5371e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment