[FFmpeg-cvslog] asfdec: use dts for seeking.
Michael Niedermayer
git at videolan.org
Tue Nov 15 01:29:38 CET 2011
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Nov 15 01:08:04 2011 +0100| [ba7f18876cf5597a9e6bb32e22d69d891534d6a8] | committer: Michael Niedermayer
asfdec: use dts for seeking.
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ba7f18876cf5597a9e6bb32e22d69d891534d6a8
---
libavformat/asfdec.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c
index a254d5d..c8b8183 100644
--- a/libavformat/asfdec.c
+++ b/libavformat/asfdec.c
@@ -1181,7 +1181,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){
More information about the ffmpeg-cvslog
mailing list