Skip to content
Snippets Groups Projects
Commit 07a47ae2 authored by Baptiste Coudurier's avatar Baptiste Coudurier
Browse files

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
parent 254629b1
No related branches found
No related tags found
No related merge requests found
......@@ -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(;;){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment