Skip to content
Snippets Groups Projects
Commit 7bf16ec3 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

mpc8: fix pts


Fixes Ticket1254

Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent e4b53d99
No related branches found
No related tags found
No related merge requests found
...@@ -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)
......
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