aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2010-02-09 18:10:07 +0000
committerReinhard Tartler <siretart@tauware.de>2010-02-09 18:10:07 +0000
commit1e9ac36f66560d94f252a176936c82763977a785 (patch)
tree6f04757105b5d60641fd923ababc1ffbb11db76e /libavformat/utils.c
parent7d061cfe175ceef84b9201490163e76b3a6f0e06 (diff)
downloadffmpeg-1e9ac36f66560d94f252a176936c82763977a785.tar.gz
Make arguments of av_set_pts_info() unsigned.
Fixes issue1240/mpeg1/smclockmpeg1.avi.3.1 Originally committed as revision 21707 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r--libavformat/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 0ffe96a00b..223d567f75 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -3286,7 +3286,7 @@ char *ff_data_to_hex(char *buff, const uint8_t *src, int s)
}
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;