diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-03-15 18:20:04 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-03-19 00:18:36 +0100 |
commit | 1692a97251896035ce4055eb101bb6c2f9b0fae1 (patch) | |
tree | 4e9623599d4e5f13531df483418cefd04a5ad0bd /libavcodec/png.h | |
parent | e85095b5243a2c7d0cea76f34866bb61b4c97b06 (diff) |
avcodec/pngenc: Use ff_deflate_init/end() wrappers
They return nicer error messages.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/png.h')
-rw-r--r-- | libavcodec/png.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/png.h b/libavcodec/png.h index a15560131f..01171e682e 100644 --- a/libavcodec/png.h +++ b/libavcodec/png.h @@ -52,10 +52,6 @@ /* Mask to determine which y pixels are valid in a pass */ extern const uint8_t ff_png_pass_ymask[NB_PASSES]; -void *ff_png_zalloc(void *opaque, unsigned int items, unsigned int size); - -void ff_png_zfree(void *opaque, void *ptr); - int ff_png_get_nb_channels(int color_type); /* compute the row size of an interleaved pass */ |