diff options
author | John Stebbins <stebbins@jetheaddev.com> | 2011-11-15 03:56:37 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2011-12-02 11:11:47 +0100 |
commit | b88eb87630c3384517437a1ee640bca9fe92852f (patch) | |
tree | 6b86dffa46c8a430d86f23aa5fa413d0fc8b2810 | |
parent | 73f027c17b0063233ec80e86a6b74ea4df6705c2 (diff) | |
download | ffmpeg-b88eb87630c3384517437a1ee640bca9fe92852f.tar.gz |
asf: use packet dts as approximation of pts
Having a somehow off seeking is better than having none at all.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-rw-r--r-- | libavformat/asfdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c index 49a9b1d539..1246cc1b65 100644 --- a/libavformat/asfdec.c +++ b/libavformat/asfdec.c @@ -1173,7 +1173,7 @@ static int64_t asf_read_pts(AVFormatContext *s, int stream_index, int64_t *ppos, return AV_NOPTS_VALUE; } - pts= pkt->pts; + pts = pkt->dts; av_free_packet(pkt); if(pkt->flags&AV_PKT_FLAG_KEY){ |