diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-03-15 15:05:53 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-03-19 00:18:36 +0100 |
commit | 74c930e1b8f7dfc308784e1c3410ef825bec56cf (patch) | |
tree | 2669dfaab14a159189cc43eb6bd51e7b968eeb39 /libavcodec/jpegls.c | |
parent | 7ca99e1f15de13b044fe676fa0fed20bda7c5bd3 (diff) | |
download | ffmpeg-74c930e1b8f7dfc308784e1c3410ef825bec56cf.tar.gz |
avcodec/pngdec: Don't open and close z_streams unnecessarily
Instead reuse and reset a single z_stream.
Also use FFZStream in decode_zbuf(), because it has nicer error
messages.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/jpegls.c')
0 files changed, 0 insertions, 0 deletions