avisynth: Remove wrong pts calculation.
authorchinshou <chinshou1976@gmail.com>
Sat, 10 Sep 2011 03:21:50 +0000 (05:21 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 21 Sep 2011 15:59:57 +0000 (17:59 +0200)
Fixes Ticket428
(cherry picked from commit 4f123a7d7c8cbf425958e726689c6bdc84605e91)

libavformat/avisynth.c

index 768459a..e0b5a64 100644 (file)
@@ -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;