changeset 25843:245e2ffbb2d5

100l, inverted condition for AVSEEK_FLAG_BACKWARD
author reimar
date Sat, 26 Jan 2008 22:25:47 +0000
parents f8fe66772c3a
children 6b01c546c5c3
files libmpdemux/demux_lavf.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_lavf.c	Sat Jan 26 22:06:36 2008 +0000
+++ b/libmpdemux/demux_lavf.c	Sat Jan 26 22:25:47 2008 +0000
@@ -613,6 +613,7 @@
 
     if (flags & 1) { // absolute seek
       priv->last_pts = priv->avfc->start_time;
+    } else {
       if (rel_seek_secs < 0) avsflags = AVSEEK_FLAG_BACKWARD;
     }
     if (flags & 2) { // percent seek