From eb63b051c09d1b10bf1ceaa2932c5fd5bf0d71ab Mon Sep 17 00:00:00 2001
From: Baptiste Coudurier <baptiste.coudurier@gmail.com>
Date: Fri, 14 Nov 2008 03:45:31 +0000
Subject: [PATCH] timestamp is dts in wmv/asf

Originally committed as revision 15821 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavformat/asf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/asf.c b/libavformat/asf.c
index e8b91446094..0faa46fae88 100644
--- a/libavformat/asf.c
+++ b/libavformat/asf.c
@@ -791,7 +791,7 @@ static int asf_read_packet(AVFormatContext *s, AVPacket *pkt)
             /* new packet */
             av_new_packet(&asf_st->pkt, asf->packet_obj_size);
             asf_st->seq = asf->packet_seq;
-            asf_st->pkt.pts = asf->packet_frag_timestamp;
+            asf_st->pkt.dts = asf->packet_frag_timestamp;
             asf_st->pkt.stream_index = asf->stream_index;
             asf_st->pkt.pos =
             asf_st->packet_pos= asf->packet_pos;
-- 
GitLab