diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-04-25 09:08:13 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-04-25 09:08:13 +0000 |
commit | 07a47ae2a3f7bcfea25828628e8b1df44dd5a1cd (patch) | |
tree | 58584d600601515f8e6b90c382349cf1b75490f6 /libavformat/flvdec.c | |
parent | 254629b1aa6afea51413f6492a86089132d8c239 (diff) | |
download | ffmpeg-07a47ae2a3f7bcfea25828628e8b1df44dd5a1cd.tar.gz |
pts are unsigned according to specs, fix negative pts when 32bit pts are used
Originally committed as revision 12949 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/flvdec.c')
-rw-r--r-- | libavformat/flvdec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index 134f402d76..6ebc415f95 100644 --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -280,7 +280,8 @@ static int flv_read_header(AVFormatContext *s, static int flv_read_packet(AVFormatContext *s, AVPacket *pkt) { - int ret, i, type, size, pts, flags, is_audio, next, pos; + int ret, i, type, size, flags, is_audio, next, pos; + unsigned pts; AVStream *st = NULL; for(;;){ |