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

James Almer git at videolan.org
Wed Sep 4 22:31:45 EEST 2019


ffmpeg | branch: release/4.2 | James Almer <jamrial at gmail.com> | Tue Sep  3 18:52:51 2019 -0300| [6a19167a6f03c932d15e078332b4968bbd2aa0ee] | committer: James Almer

avformat/matroskadec: use proper types for some EbmlSyntax fields

Signed-off-by: James Almer <jamrial at gmail.com>
(cherry picked from commit f34aabfbaeaef79f9660b76490840fe155a19232)

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

 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