mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 07:31:22 +01:00
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
This commit is contained in:
parent
254629b1aa
commit
07a47ae2a3
1 changed files with 2 additions and 1 deletions
|
|
@ -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(;;){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue