summaryrefslogtreecommitdiff
path: root/libavcodec/hevc.h
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2014-01-11 03:20:45 +0100
committerLuca Barbato <lu_zero@gentoo.org>2014-01-21 11:57:51 +0100
commitb37e796082b2d787aff3cd5631bb89c4fd374708 (patch)
tree30724bdb9f8cd7a6efe2a0f5928f76c86334e16f /libavcodec/hevc.h
parentd5c15ebeaf1914ea5e3e0599d4316d7c4cf74434 (diff)
hevc: Use uint64 to check for tile dimensions
And use unsigned datatypes. Otherwise it would overflow. Sample-Id: 00001315-google Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
Diffstat (limited to 'libavcodec/hevc.h')
-rw-r--r--libavcodec/hevc.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/hevc.h b/libavcodec/hevc.h
index f623887c6e..6c99d9bc5c 100644
--- a/libavcodec/hevc.h
+++ b/libavcodec/hevc.h
@@ -513,10 +513,10 @@ typedef struct HEVCPPS {
uint8_t slice_header_extension_present_flag;
// Inferred parameters
- int *column_width; ///< ColumnWidth
- int *row_height; ///< RowHeight
- int *col_bd; ///< ColBd
- int *row_bd; ///< RowBd
+ unsigned int *column_width; ///< ColumnWidth
+ unsigned int *row_height; ///< RowHeight
+ unsigned int *col_bd; ///< ColBd
+ unsigned int *row_bd; ///< RowBd
int *col_idxX;
int *ctb_addr_rs_to_ts; ///< CtbAddrRSToTS