mirror of https://git.ffmpeg.org/ffmpeg.git
mpc8: fix pts
Fixes Ticket1254 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
e4b53d995c
commit
7bf16ec300
|
@ -274,7 +274,7 @@ static int mpc8_read_packet(AVFormatContext *s, AVPacket *pkt)
|
|||
if(av_get_packet(s->pb, pkt, size) < 0)
|
||||
return AVERROR(ENOMEM);
|
||||
pkt->stream_index = 0;
|
||||
pkt->pts = c->frame;
|
||||
pkt->pts = c->frame++;
|
||||
return 0;
|
||||
}
|
||||
if(tag == TAG_STREAMEND)
|
||||
|
|
Loading…
Reference in New Issue