hevc: make the crop sizes unsigned
authorAnton Khirnov <anton@khirnov.net>
Fri, 20 Mar 2015 20:28:34 +0000 (21:28 +0100)
committerAnton Khirnov <anton@khirnov.net>
Sat, 21 Mar 2015 08:45:18 +0000 (09:45 +0100)
(cherry picked from commit c929659bdd7d2d5848ea52e685a3164c7b901bb0)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/hevc.h

index 93c5125..aa84cdc 100644 (file)
@@ -284,10 +284,10 @@ typedef struct RefPicListTab {
 } RefPicListTab;
 
 typedef struct HEVCWindow {
-    int left_offset;
-    int right_offset;
-    int top_offset;
-    int bottom_offset;
+    unsigned int left_offset;
+    unsigned int right_offset;
+    unsigned int top_offset;
+    unsigned int bottom_offset;
 } HEVCWindow;
 
 typedef struct VUI {