From 7bf16ec300cf944b213e0f33031f0e51a71aeefa Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 6 Aug 2012 02:51:11 +0200 Subject: mpc8: fix pts Fixes Ticket1254 Signed-off-by: Michael Niedermayer --- libavformat/mpc8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/mpc8.c') diff --git a/libavformat/mpc8.c b/libavformat/mpc8.c index 2951c27e78..0b1f6b6e49 100644 --- a/libavformat/mpc8.c +++ b/libavformat/mpc8.c @@ -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) -- cgit v1.2.3