Commit b88eb876 authored by John Stebbins's avatar John Stebbins Committed by Luca Barbato

asf: use packet dts as approximation of pts

Having a somehow off seeking is better than having none at all.
Signed-off-by: 's avatarLuca Barbato <lu_zero@gentoo.org>
parent 73f027c1
......@@ -1173,7 +1173,7 @@ static int64_t asf_read_pts(AVFormatContext *s, int stream_index, int64_t *ppos,
return AV_NOPTS_VALUE;
}
pts= pkt->pts;
pts = pkt->dts;
av_free_packet(pkt);
if(pkt->flags&AV_PKT_FLAG_KEY){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment