Mercurial > libavformat.hg
diff asf.c @ 4022:9be14682f7b3 libavformat
timestamp is dts in wmv/asf
author | bcoudurier |
---|---|
date | Fri, 14 Nov 2008 03:45:31 +0000 |
parents | 4fd67f05bad9 |
children | dcdf236c9909 |
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;