You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-11 14:30:22 +02:00
avcodec/jni: use size_t to store structure offsets
This commit is contained in:
@ -24,6 +24,7 @@
|
|||||||
#define AVCODEC_FFJNI_H
|
#define AVCODEC_FFJNI_H
|
||||||
|
|
||||||
#include <jni.h>
|
#include <jni.h>
|
||||||
|
#include <stddef.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Attach permanently a JNI environment to the current thread and retrieve it.
|
* Attach permanently a JNI environment to the current thread and retrieve it.
|
||||||
@ -105,7 +106,7 @@ struct FFJniField {
|
|||||||
const char *method;
|
const char *method;
|
||||||
const char *signature;
|
const char *signature;
|
||||||
enum FFJniFieldType type;
|
enum FFJniFieldType type;
|
||||||
int offset;
|
size_t offset;
|
||||||
int mandatory;
|
int mandatory;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user