Mercurial > libavformat.hg
changeset 3251:994c65371958 libavformat
pts are unsigned according to specs, fix negative pts when 32bit pts are used
author | bcoudurier |
---|---|
date | Fri, 25 Apr 2008 09:08:13 +0000 |
parents | 9c5e50e5eac0 |
children | f4fcd39c5d7f |
files | flvdec.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/flvdec.c Fri Apr 25 09:04:38 2008 +0000 +++ b/flvdec.c Fri Apr 25 09:08:13 2008 +0000 @@ -280,7 +280,8 @@ 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(;;){