Commit 7bf16ec3 authored by Michael Niedermayer's avatar Michael Niedermayer

mpc8: fix pts

Fixes Ticket1254
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent e4b53d99
...@@ -274,7 +274,7 @@ static int mpc8_read_packet(AVFormatContext *s, AVPacket *pkt) ...@@ -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)
......
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