diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-04-02 10:45:27 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-04-08 14:15:30 +0200 |
commit | 5f21bbed8a63efcd052c9a51fd235faa01ba793e (patch) | |
tree | 3d374469153ba127fb404e7407123588225cb607 /libavformat/srtenc.c | |
parent | 53ecdbfbe5e3c896b06ad1fe472df14eb0e336db (diff) | |
download | ffmpeg-5f21bbed8a63efcd052c9a51fd235faa01ba793e.tar.gz |
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.
(cherry picked from commit 89ea5057bf47880145419341258eadb3635448cf)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavformat/srtenc.c')
0 files changed, 0 insertions, 0 deletions