timestamp is dts in wmv/asf
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Fri, 14 Nov 2008 03:45:31 +0000 (03:45 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Fri, 14 Nov 2008 03:45:31 +0000 (03:45 +0000)
Originally committed as revision 15821 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/asf.c

index e8b9144..0faa46f 100644 (file)
@@ -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;