1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avcodec/jni: use size_t to store structure offsets

This commit is contained in:
Matthieu Bouron 2024-02-13 11:03:22 +01:00
parent 6567516a5e
commit 70ba15d2cf

View File

@ -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;
};