~ubuntu-branches/ubuntu/vivid/libav/vivid

« back to all changes in this revision

Viewing changes to tools/qt-faststart.c

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler
  • Date: 2013-10-22 23:24:08 UTC
  • mfrom: (1.3.36 sid)
  • Revision ID: package-import@ubuntu.com-20131022232408-b8tvvn4pyzri9mi3
Tags: 6:9.10-1ubuntu1
* Build all -extra flavors from this source package, as libav got demoted
  from main to universe, cf LP: #1243235
* Simplify debian/rules to follow exactly the code that debian executes
* New upstream (LP: #1180288) fixes lots of security issues (LP: #1242802)
* Merge from unstable, remaining changes:
  - build-depend on libtiff5-dev rather than libtiff4-dev,
    avoids FTBFS caused by imlib
  - follow the regular debian codepaths

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
#ifdef __MINGW32__
33
33
#define fseeko(x, y, z) fseeko64(x, y, z)
34
34
#define ftello(x)       ftello64(x)
 
35
#elif defined(_WIN32)
 
36
#define fseeko(x, y, z) _fseeki64(x, y, z)
 
37
#define ftello(x)       _ftelli64(x)
35
38
#endif
36
39
 
37
40
#define BE_16(x) ((((uint8_t*)(x))[0] <<  8) | ((uint8_t*)(x))[1])
138
141
            }
139
142
            start_offset = ftello(infile);
140
143
        } else {
141
 
 
142
144
            /* 64-bit special case */
143
145
            if (atom_size == 1) {
144
146
                if (fread(atom_bytes, ATOM_PREAMBLE_SIZE, 1, infile) != 1) {