Browse Source

asfdec: use dts for seeking.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.9
Michael Niedermayer 13 years ago
parent
commit
ba7f18876c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/asfdec.c

+ 1
- 1
libavformat/asfdec.c View File

@@ -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){


Loading…
Cancel
Save