ffmpeg | branch: master | Matthieu Bouron <matthieu.bou...@gmail.com> | Tue Feb 
13 11:03:22 2024 +0100| [70ba15d2cfbbc376d3774342f88333129a9d55f5] | committer: 
Matthieu Bouron

avcodec/jni: use size_t to store structure offsets

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=70ba15d2cfbbc376d3774342f88333129a9d55f5
---

 libavcodec/ffjni.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to