]> git.pld-linux.org Git - packages/ffmpeg.git/commitdiff
- need to cast to off_t to force signedness
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 1 Jul 2009 10:23:09 +0000 (10:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    qt-faststart-off_t.patch -> 1.1

qt-faststart-off_t.patch [new file with mode: 0644]

diff --git a/qt-faststart-off_t.patch b/qt-faststart-off_t.patch
new file mode 100644 (file)
index 0000000..3615aeb
--- /dev/null
@@ -0,0 +1,11 @@
+--- ffmpeg-export-2007-10-09/tools/qt-faststart.c~     2009-07-01 13:22:20.000000000 +0300
++++ ffmpeg-export-2007-10-09/tools/qt-faststart.c      2009-07-01 13:22:23.379636033 +0300
+@@ -130,7 +130,7 @@
+                 fclose(infile);
+                 return 1;
+             }
+-            fseeko(infile, -ATOM_PREAMBLE_SIZE, SEEK_CUR);
++            fseeko(infile, (off_t)-ATOM_PREAMBLE_SIZE, SEEK_CUR);
+             if (fread(ftyp_atom, atom_size, 1, infile) != 1) {
+                 perror(argv[1]);
+                 free(ftyp_atom);
This page took 0.255742 seconds and 4 git commands to generate.