avformat/apngdec: account for blend and dispose operations.
authorBenoit Fouet <benoit.fouet@free.fr>
Tue, 25 Nov 2014 09:52:21 +0000 (10:52 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 25 Nov 2014 23:59:45 +0000 (00:59 +0100)
commit4acefd25215a0d0ac6cf65971e73400eaaa5e64e
tree06f091977104333f0718e7d60f08c4e54b5251d5
parent5badcdf20d98b7edede3d7701d31dba58822a99a
avformat/apngdec: account for blend and dispose operations.

When the dimensions are the entire frame ones, and the dispose operation
is to reset to background, or the new frame overwrites the new one, then
consider the frame as a key one.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/apng.h [new file with mode: 0644]
libavformat/apngdec.c