packages: ffmpeg/qt-faststart-off_t.patch (NEW) - need to cast to off_t to ...
glen
glen at pld-linux.org
Wed Jul 1 12:23:14 CEST 2009
Author: glen Date: Wed Jul 1 10:23:14 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- need to cast to off_t to force signedness
---- Files affected:
packages/ffmpeg:
qt-faststart-off_t.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/ffmpeg/qt-faststart-off_t.patch
diff -u /dev/null packages/ffmpeg/qt-faststart-off_t.patch:1.1
--- /dev/null Wed Jul 1 12:23:14 2009
+++ packages/ffmpeg/qt-faststart-off_t.patch Wed Jul 1 12:23:09 2009
@@ -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);
================================================================
More information about the pld-cvs-commit
mailing list