diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-02-15 23:09:55 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-03-09 17:22:53 +0100 |
commit | ed06e5d92b4c67b49068d538461fbbe0a53a8c5e (patch) | |
tree | 46263a454e9979f6463983c3fc7848fc4e21f7b0 /libavcodec/hevc.c | |
parent | 6cc94e971933cd38c452172bb048bf760e65cc3e (diff) | |
download | ffmpeg-ed06e5d92b4c67b49068d538461fbbe0a53a8c5e.tar.gz |
hevc: Do not turn 32bit timebases into negative numbers
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Diffstat (limited to 'libavcodec/hevc.c')
-rw-r--r-- | libavcodec/hevc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c index f8f7e64eb4..49ed2858cb 100644 --- a/libavcodec/hevc.c +++ b/libavcodec/hevc.c @@ -388,7 +388,7 @@ static int decode_lt_rps(HEVCContext *s, LongTermRPS *rps, GetBitContext *gb) static int set_sps(HEVCContext *s, const HEVCSPS *sps) { int ret; - int num = 0, den = 0; + unsigned int num = 0, den = 0; pic_arrays_free(s); ret = pic_arrays_init(s, sps); |