[FFmpeg-devel] [PATCH] avformat/isom.h: use usnigned types in MOVStsc

chcunningham chcunningham at chromium.org
Sat Feb 2 04:16:59 EET 2019


Unsigned types match the isobmff spec.
---
 libavformat/isom.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavformat/isom.h b/libavformat/isom.h
index e629663949..8e0d8355b3 100644
--- a/libavformat/isom.h
+++ b/libavformat/isom.h
@@ -59,9 +59,9 @@ typedef struct MOVStts {
 } MOVStts;
 
 typedef struct MOVStsc {
-    int first;
-    int count;
-    int id;
+    unsigned int first;
+    unsigned int count;
+    unsigned int id;
 } MOVStsc;
 
 typedef struct MOVElst {
-- 
2.20.1.611.gfbb209baf1-goog



More information about the ffmpeg-devel mailing list