# HG changeset patch # User bcoudurier # Date 1209114493 0 # Node ID 994c6537195801ea7c86129c009d485ad2758e7f # Parent 9c5e50e5eac0390a2bb3081aa248dd5b4b5337fd pts are unsigned according to specs, fix negative pts when 32bit pts are used diff -r 9c5e50e5eac0 -r 994c65371958 flvdec.c --- 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(;;){