[FFmpeg-devel] [PATCH 4/5] hevc: pack PTL representation using uint8_t

Guillaume Martres smarter at ubuntu.com
Fri Dec 13 20:05:25 CET 2013


---
 libavcodec/hevc.h | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/libavcodec/hevc.h b/libavcodec/hevc.h
index 05d66f4..a970ecc 100644
--- a/libavcodec/hevc.h
+++ b/libavcodec/hevc.h
@@ -331,15 +331,15 @@ typedef struct VUI {
 } VUI;
 
 typedef struct ProfileTierLevel {
-    int profile_space;
+    uint8_t profile_space;
     uint8_t tier_flag;
-    int profile_idc;
-    int profile_compatibility_flag[32];
-    int level_idc;
-    int progressive_source_flag;
-    int interlaced_source_flag;
-    int non_packed_constraint_flag;
-    int frame_only_constraint_flag;
+    uint8_t profile_idc;
+    uint8_t profile_compatibility_flag[32];
+    uint8_t level_idc;
+    uint8_t progressive_source_flag;
+    uint8_t interlaced_source_flag;
+    uint8_t non_packed_constraint_flag;
+    uint8_t frame_only_constraint_flag;
 } ProfileTierLevel;
 
 typedef struct PTL {
-- 
1.8.3.2



More information about the ffmpeg-devel mailing list