summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchinshou <[email protected]>2011-09-10 05:21:50 +0200
committerMichael Niedermayer <[email protected]>2011-09-21 17:59:57 +0200
commitab2ea6415bdf76002e2bf80ae0785bdb3afa41d9 (patch)
tree4d992f6b65c76b2b1f6c5191830404d2e2196096
parent7181adab8090e614bb4e37410c60d8f93cbd860d (diff)
avisynth: Remove wrong pts calculation.
Fixes Ticket428 (cherry picked from commit 4f123a7d7c8cbf425958e726689c6bdc84605e91)
-rw-r--r--libavformat/avisynth.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/avisynth.c b/libavformat/avisynth.c
index 768459a38d..e0b5a64e04 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;