100l, inverted condition for AVSEEK_FLAG_BACKWARD

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25871 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2008-01-26 22:25:47 +00:00
parent a3bb9882b7
commit 0e75f48aca
1 changed files with 1 additions and 0 deletions

View File

@ -613,6 +613,7 @@ static void demux_seek_lavf(demuxer_t *demuxer, float rel_seek_secs, float audio
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