diff avio.c @ 5850:a9a36b4f83a2 libavformat

Add AVSEEK_FORCE flag to indicate that the code should attempt to seek by any means.
author michael
date Mon, 15 Mar 2010 22:54:22 +0000
parents 65b77d0674d0
children c758fd290a6e
line wrap: on
line diff
--- a/avio.c	Mon Mar 15 22:37:14 2010 +0000
+++ b/avio.c	Mon Mar 15 22:54:22 2010 +0000
@@ -202,7 +202,7 @@
 
     if (!h->prot->url_seek)
         return AVERROR(EPIPE);
-    ret = h->prot->url_seek(h, pos, whence);
+    ret = h->prot->url_seek(h, pos, whence & ~AVSEEK_FORCE);
     return ret;
 }