The specifications use uint32_t and this fixes a number of warnings
about invalid offsets of some files.

Signed-off-by: Rostislav Pehlivanov <atomnu...@gmail.com>
---
 libavcodec/dirac_parser.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/dirac_parser.c b/libavcodec/dirac_parser.c
index 1ca7e31..446299c 100644
--- a/libavcodec/dirac_parser.c
+++ b/libavcodec/dirac_parser.c
@@ -92,8 +92,8 @@ static int find_frame_end(DiracParseContext *pc,
 }
 
 typedef struct DiracParseUnit {
-    int next_pu_offset;
-    int prev_pu_offset;
+    uint32_t next_pu_offset;
+    uint32_t prev_pu_offset;
     uint8_t pu_type;
 } DiracParseUnit;
 
-- 
2.7.0.rc3.207.g0ac5344

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to