[FFmpeg-cvslog] avisynth: Remove wrong pts calculation.

chinshou git at videolan.org
Wed Sep 21 21:08:31 CEST 2011


ffmpeg | branch: release/0.8 | chinshou <chinshou1976 at gmail.com> | Sat Sep 10 05:21:50 2011 +0200| [ab2ea6415bdf76002e2bf80ae0785bdb3afa41d9] | committer: Michael Niedermayer

avisynth: Remove wrong pts calculation.
Fixes Ticket428
(cherry picked from commit 4f123a7d7c8cbf425958e726689c6bdc84605e91)

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

 libavformat/avisynth.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/libavformat/avisynth.c b/libavformat/avisynth.c
index 768459a..e0b5a64 100644
--- a/libavformat/avisynth.c
+++ b/libavformat/avisynth.c
@@ -165,7 +165,6 @@ static int avisynth_read_packet(AVFormatContext *s, AVPacket *pkt)
 
   res = AVIStreamRead(stream->handle, stream->read, stream->chunck_samples, pkt->data, stream->chunck_size, &read_size, NULL);
 
-  pkt->pts = stream->read;
   pkt->size = read_size;
 
   stream->read += stream->chunck_samples;



More information about the ffmpeg-cvslog mailing list