OSDN Git Service

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>
Sat, 10 Sep 2011 03:24:26 +0000 (05:24 +0200)
Fixes Ticket428

libavformat/avisynth.c

index e41e1c0..84a956c 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;