Commit 1db0a66c authored by bcoudurier's avatar bcoudurier

pts are unsigned according to specs, fix negative pts when 32bit pts are used

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12949 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d1c5b9c6
...@@ -280,7 +280,8 @@ static int flv_read_header(AVFormatContext *s, ...@@ -280,7 +280,8 @@ static int flv_read_header(AVFormatContext *s,
static int flv_read_packet(AVFormatContext *s, AVPacket *pkt) 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; AVStream *st = NULL;
for(;;){ for(;;){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment