avcodec/hevc: Fix integer overflow of entry_point_offset
[ffmpeg.git] / libavcodec / hevc.h
index 66b9a2f..d84e661 100644 (file)
@@ -622,7 +622,7 @@ typedef struct SliceHeader {
 
     unsigned int max_num_merge_cand; ///< 5 - 5_minus_max_num_merge_cand
 
-    int *entry_point_offset;
+    unsigned *entry_point_offset;
     int * offset;
     int * size;
     int num_entry_point_offsets;