Mercurial > libavcodec.hg
changeset 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 | e6d8c5bbeeac |
children | 661d33e0b0d8 |
files | h264.h |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/h264.h Fri Apr 11 12:55:21 2008 +0000 +++ b/h264.h Fri Apr 11 12:57:49 2008 +0000 @@ -93,10 +93,10 @@ int mb_aff; ///<mb_adaptive_frame_field_flag int direct_8x8_inference_flag; int crop; ///< frame_cropping_flag - int crop_left; ///< frame_cropping_rect_left_offset - int crop_right; ///< frame_cropping_rect_right_offset - int crop_top; ///< frame_cropping_rect_top_offset - int crop_bottom; ///< frame_cropping_rect_bottom_offset + unsigned int crop_left; ///< frame_cropping_rect_left_offset + unsigned int crop_right; ///< frame_cropping_rect_right_offset + unsigned int crop_top; ///< frame_cropping_rect_top_offset + unsigned int crop_bottom; ///< frame_cropping_rect_bottom_offset int vui_parameters_present_flag; AVRational sar; int timing_info_present_flag;