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:35:14 +0000 (09:35 +0100)
libavcodec/hevc.h

index 333ea46..068c10a 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 {