summaryrefslogtreecommitdiff
path: root/libavcodec/apng.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-07-04 17:13:58 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-07-09 19:37:52 +0200
commite4a10dd63783f80ed251e7bbf2550feff4c01306 (patch)
tree52fa06d46f673a37c439f2f6ec1d5c90d34ea7dc /libavcodec/apng.h
parent66a251e836033db9562dad78269a837bc9dae122 (diff)
downloadffmpeg-e4a10dd63783f80ed251e7bbf2550feff4c01306.tar.gz
avcodec/apng: Add APNG_FCTL_CHUNK_SIZE define
Also use it where appropriate. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/apng.h')
-rw-r--r--libavcodec/apng.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/apng.h b/libavcodec/apng.h
index 41249e0df0..abd8795334 100644
--- a/libavcodec/apng.h
+++ b/libavcodec/apng.h
@@ -38,4 +38,7 @@ enum {
APNG_BLEND_OP_OVER = 1,
};
+/* Only the payload data, not including length, fourcc and CRC-32. */
+#define APNG_FCTL_CHUNK_SIZE 26
+
#endif /* AVCODEC_APNG_H */