Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-08-06 04:51:11 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-08-06 04:51:11 +0400
commit7bf16ec300cf944b213e0f33031f0e51a71aeefa (patch)
tree27de5ac9801121e34783c39309bca368cc8a031e /libavformat/mpc8.c
parente4b53d995c0341b573c37d3fa43e5e76ec594608 (diff)
mpc8: fix pts
Fixes Ticket1254 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mpc8.c')
-rw-r--r--libavformat/mpc8.c2
1 files changed, 1 insertions, 1 deletions
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)