[FFmpeg-cvslog] avformat/matroskadec: use proper types for some EbmlSyntax fields

James Almer git at videolan.org
Wed Sep 4 16:27:20 EEST 2019


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Tue Sep  3 18:52:51 2019 -0300| [f34aabfbaeaef79f9660b76490840fe155a19232] | committer: James Almer

avformat/matroskadec: use proper types for some EbmlSyntax fields

Signed-off-by: James Almer <jamrial at gmail.com>

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

 libavformat/matroskadec.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index 1ea9b807e6..439ee462a5 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -97,8 +97,8 @@ typedef enum {
 typedef const struct EbmlSyntax {
     uint32_t id;
     EbmlType type;
-    int list_elem_size;
-    int data_offset;
+    size_t list_elem_size;
+    size_t data_offset;
     union {
         int64_t     i;
         uint64_t    u;



More information about the ffmpeg-cvslog mailing list