mpc8: fix pts
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 6 Aug 2012 00:51:11 +0000 (02:51 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 6 Aug 2012 00:51:11 +0000 (02:51 +0200)
Fixes Ticket1254

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mpc8.c

index 2951c27..0b1f6b6 100644 (file)
@@ -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)