This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
mpc8: fix pts
Fixes Ticket1254 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.0
Michael Niedermayer
13 years ago
parent
e4b53d995c
commit
7bf16ec300
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavformat/mpc8.c
+ 1
- 1
libavformat/mpc8.c
View File
@@ -274,7 +274,7 @@ static int mpc8_read_packet(AVFormatContext *s, AVPacket *pkt)
if(av_get_packet(s->pb, pkt, size) < 0)
if(av_get_packet(s->pb, pkt, size) < 0)
return AVERROR(ENOMEM);
return AVERROR(ENOMEM);
pkt->stream_index = 0;
pkt->stream_index = 0;
pkt->pts = c->frame;
pkt->pts = c->frame
++
;
return 0;
return 0;
}
}
if(tag == TAG_STREAMEND)
if(tag == TAG_STREAMEND)
Write
Preview
Loading…
Cancel
Save