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

chinshou git at videolan.org
Sat Sep 10 05:37:46 CEST 2011


ffmpeg | branch: master | chinshou <chinshou1976 at gmail.com> | Sat Sep 10 05:21:50 2011 +0200| [4f123a7d7c8cbf425958e726689c6bdc84605e91] | committer: Michael Niedermayer

avisynth: Remove wrong pts calculation.
Fixes Ticket428

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

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

diff --git a/libavformat/avisynth.c b/libavformat/avisynth.c
index e41e1c0..84a956c 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