From: John Stebbins <[email protected]>

Having a somehow off seeking is better than having none at all.

Signed-off-by: Luca Barbato <[email protected]>
---
 libavformat/asfdec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c
index ff439af..69c0b6d 100644
--- a/libavformat/asfdec.c
+++ b/libavformat/asfdec.c
@@ -1172,7 +1172,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){
-- 
1.7.7

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to