aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-11-14 03:45:31 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-11-14 03:45:31 +0000
commiteb63b051c09d1b10bf1ceaa2932c5fd5bf0d71ab (patch)
tree482e797a0c5fbad38e504f10f639788e9e0abf70 /libavformat
parent70a61f8cf75e7370fa61f6c1eadc0af1938fb902 (diff)
downloadffmpeg-eb63b051c09d1b10bf1ceaa2932c5fd5bf0d71ab.tar.gz
timestamp is dts in wmv/asf
Originally committed as revision 15821 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/asf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/asf.c b/libavformat/asf.c
index e8b9144609..0faa46fae8 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;