diff asf.c @ 555:0a997108f384 libavformat

use native timebase for seeking direction flag for seeking
author michael
date Sun, 10 Oct 2004 22:05:43 +0000
parents 0fdc96c2f2fe
children b3adf6716dc3
line wrap: on
line diff
--- a/asf.c	Fri Oct 08 20:09:52 2004 +0000
+++ b/asf.c	Sun Oct 10 22:05:43 2004 +0000
@@ -757,14 +757,14 @@
     return pts;
 }
 
-static int asf_read_seek(AVFormatContext *s, int stream_index, int64_t pts)
+static int asf_read_seek(AVFormatContext *s, int stream_index, int64_t pts, int flags)
 {
     ASFContext *asf = s->priv_data;
     
     if (asf->packet_size <= 0)
         return -1;
 
-    if(av_seek_frame_binary(s, stream_index, pts)<0)
+    if(av_seek_frame_binary(s, stream_index, pts, flags)<0)
         return -1;
 
     asf_reset_header(s);