[FFmpeg-cvslog] mpc8: fix pts

Michael Niedermayer git at videolan.org
Mon Aug 6 02:56:15 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Aug  6 02:51:11 2012 +0200| [7bf16ec300cf944b213e0f33031f0e51a71aeefa] | committer: Michael Niedermayer

mpc8: fix pts

Fixes Ticket1254

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7bf16ec300cf944b213e0f33031f0e51a71aeefa
---

 libavformat/mpc8.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mpc8.c b/libavformat/mpc8.c
index 2951c27..0b1f6b6 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)



More information about the ffmpeg-cvslog mailing list