diff options
author | Matthieu Bouron <matthieu.bouron@gmail.com> | 2024-02-13 11:03:22 +0100 |
---|---|---|
committer | Matthieu Bouron <matthieu.bouron@gmail.com> | 2024-03-23 11:37:44 +0100 |
commit | 70ba15d2cfbbc376d3774342f88333129a9d55f5 (patch) | |
tree | 495fc648116dda78e1ecc0259c5c89ed72dff3ac /libavcodec/ffjni.h | |
parent | 6567516a5ef90e61accf8ef117d6e2d062a4bb76 (diff) | |
download | ffmpeg-70ba15d2cfbbc376d3774342f88333129a9d55f5.tar.gz |
avcodec/jni: use size_t to store structure offsets
Diffstat (limited to 'libavcodec/ffjni.h')
-rw-r--r-- | libavcodec/ffjni.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/ffjni.h b/libavcodec/ffjni.h index 6027bac0ab..d1e86f8329 100644 --- a/libavcodec/ffjni.h +++ b/libavcodec/ffjni.h @@ -24,6 +24,7 @@ #define AVCODEC_FFJNI_H #include <jni.h> +#include <stddef.h> /* * Attach permanently a JNI environment to the current thread and retrieve it. @@ -105,7 +106,7 @@ struct FFJniField { const char *method; const char *signature; enum FFJniFieldType type; - int offset; + size_t offset; int mandatory; }; |