Projects
Multimedia
avidemux
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 18
View file
avidemux-stdlib.patch
Changed
@@ -11,12 +11,21 @@ #include "ADM_assert.h" #define MINUS_ONE 0xffffffff +@@ -359,7 +360,7 @@ uint32_t fl; + // + // } + // 1/16 sec is close enough +-#define CLOSE_ENOUGH (44100>>16) ++#define CLOSE_ENOUGH (44100ULL>>16ULL) + // we will use the pcm equ to find where to jump + uint8_t oggAudio::goToTime(uint32_t mstime) + { @@ -402,7 +403,7 @@ static WAVHeader hdr; // Now we forward till the next header is > value while(_demuxer->readHeaderOfType(_currentTrack->audioTrack,&cursize,&flags,&f)) { - if(f>val || abs(f-val)<CLOSE_ENOUGH) -+ if(f>val || std::abs(f-val)<CLOSE_ENOUGH) ++ if(f > val || std::abs((long long)(f - val)) < (long long)CLOSE_ENOUGH) { aprintf("Wanted %llu",val); aprintf(" got %llu\n",f);
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.