Mercurial > libavcodec.hg
comparison h264.h @ 6582:7d40da88f0c7 libavcodec
Crop parameters are unsigned, having them negative could be bad and lead
to crashes or maybe exploits (not checked at all if this is possible).
author | michael |
---|---|
date | Fri, 11 Apr 2008 12:57:49 +0000 |
parents | ecbe9565dcae |
children | df0893f4fd86 |
comparison
equal
deleted
inserted
replaced
6581:e6d8c5bbeeac | 6582:7d40da88f0c7 |
---|---|
91 int mb_height; ///< pic_height_in_map_units_minus1 + 1 | 91 int mb_height; ///< pic_height_in_map_units_minus1 + 1 |
92 int frame_mbs_only_flag; | 92 int frame_mbs_only_flag; |
93 int mb_aff; ///<mb_adaptive_frame_field_flag | 93 int mb_aff; ///<mb_adaptive_frame_field_flag |
94 int direct_8x8_inference_flag; | 94 int direct_8x8_inference_flag; |
95 int crop; ///< frame_cropping_flag | 95 int crop; ///< frame_cropping_flag |
96 int crop_left; ///< frame_cropping_rect_left_offset | 96 unsigned int crop_left; ///< frame_cropping_rect_left_offset |
97 int crop_right; ///< frame_cropping_rect_right_offset | 97 unsigned int crop_right; ///< frame_cropping_rect_right_offset |
98 int crop_top; ///< frame_cropping_rect_top_offset | 98 unsigned int crop_top; ///< frame_cropping_rect_top_offset |
99 int crop_bottom; ///< frame_cropping_rect_bottom_offset | 99 unsigned int crop_bottom; ///< frame_cropping_rect_bottom_offset |
100 int vui_parameters_present_flag; | 100 int vui_parameters_present_flag; |
101 AVRational sar; | 101 AVRational sar; |
102 int timing_info_present_flag; | 102 int timing_info_present_flag; |
103 uint32_t num_units_in_tick; | 103 uint32_t num_units_in_tick; |
104 uint32_t time_scale; | 104 uint32_t time_scale; |