Mercurial > libavformat.hg
diff utils.c @ 5082:8d5dd051d055 libavformat
Make arguments of av_set_pts_info() unsigned.
Fixes issue1240/mpeg1/smclockmpeg1.avi.3.1
author | michael |
---|---|
date | Wed, 01 Jul 2009 18:50:31 +0000 |
parents | b2aa396484d4 |
children | 45ee449ae6ef |
line wrap: on
line diff
--- a/utils.c Tue Jun 30 07:43:32 2009 +0000 +++ b/utils.c Wed Jul 01 18:50:31 2009 +0000 @@ -3304,7 +3304,7 @@ } void av_set_pts_info(AVStream *s, int pts_wrap_bits, - int pts_num, int pts_den) + unsigned int pts_num, unsigned int pts_den) { unsigned int gcd= av_gcd(pts_num, pts_den); s->pts_wrap_bits = pts_wrap_bits;