summaryrefslogtreecommitdiff
path: root/libavcodec/vorbisdsp.h
diff options
context:
space:
mode:
authorRĂ©mi Denis-Courmont <remi@remlab.net>2022-09-19 19:10:43 +0300
committerJames Almer <jamrial@gmail.com>2022-09-19 13:51:00 -0300
commitb52034270a82ffc4aa584945c8a18aa8e58e741b (patch)
tree53dc24f2e23bfddc9dab401a27f5345492f37d17 /libavcodec/vorbisdsp.h
parentbbf045aa592f7bec895907c8878fd734a0e8713b (diff)
downloadffmpeg-b52034270a82ffc4aa584945c8a18aa8e58e741b.tar.gz
lavc/vorbisdsp: use ptrdiff_t rather than intptr_t
... for a difference between pointers.
Diffstat (limited to 'libavcodec/vorbisdsp.h')
-rw-r--r--libavcodec/vorbisdsp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vorbisdsp.h b/libavcodec/vorbisdsp.h
index 7abec4e4b7..1775a92cf2 100644
--- a/libavcodec/vorbisdsp.h
+++ b/libavcodec/vorbisdsp.h
@@ -19,12 +19,12 @@
#ifndef AVCODEC_VORBISDSP_H
#define AVCODEC_VORBISDSP_H
-#include <stdint.h>
+#include <stddef.h>
typedef struct VorbisDSPContext {
/* assume len is a multiple of 4, and arrays are 16-byte aligned */
void (*vorbis_inverse_coupling)(float *mag, float *ang,
- intptr_t blocksize);
+ ptrdiff_t blocksize);
} VorbisDSPContext;
void ff_vorbisdsp_init(VorbisDSPContext *dsp);