]> git.sesse.net Git - ffmpeg/commit
lavc/pngdec: remove unnecessary context variables
authorAnton Khirnov <anton@khirnov.net>
Fri, 2 Apr 2021 08:45:27 +0000 (10:45 +0200)
committerAnton Khirnov <anton@khirnov.net>
Thu, 8 Apr 2021 09:03:15 +0000 (11:03 +0200)
commit89ea5057bf47880145419341258eadb3635448cf
tree338d776c6abd736d1c4fcad2b399107320bf8f5d
parent5a50bd88db670f8c030a814e4cdb2a880dc1d4f4
lavc/pngdec: remove unnecessary context variables

Do not store the image buffer pointer/linesize in the context, just
access them directly from the frame.
Stop assuming that linesize is the same for the current and last frame.
libavcodec/pngdec.c