changeset 4022:9be14682f7b3 libavformat

timestamp is dts in wmv/asf
author bcoudurier
date Fri, 14 Nov 2008 03:45:31 +0000
parents 6390b29b59f2
children 175eeb7a88d5
files asf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/asf.c	Wed Nov 12 21:40:53 2008 +0000
+++ b/asf.c	Fri Nov 14 03:45:31 2008 +0000
@@ -791,7 +791,7 @@
             /* 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;