Ticket #669: rewind.patch

File rewind.patch, 497 bytes (added by skamithi@…, 15 years ago)

calcrwtime expects positive number. ffrew_skip is negative when given to the function.

  • NuppelVideoPlayer.cpp

     
    897899        }
    898900        else
    899901        {
    900             if (CalcRWTime(ffrew_skip) >= 0)
     902            if (CalcRWTime(-ffrew_skip) >= 0)
    901903            {
    902904                real_skip = (-GetDecoder()->GetFramesRead() > ffrew_skip) ?
    903905                             -GetDecoder()->GetFramesRead() : ffrew_skip;