[FFmpeg-cvslog] qt-faststart: fix signedness of variable used to hold return code

Michael Niedermayer git at videolan.org
Mon Oct 29 22:17:49 CET 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Oct 29 22:05:33 2012 +0100| [1838961357e38402be64c0c82a2f08e4e85a0c01] | committer: Michael Niedermayer

qt-faststart: fix signedness of variable used to hold return code

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1838961357e38402be64c0c82a2f08e4e85a0c01
---

 tools/qt-faststart.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/qt-faststart.c b/tools/qt-faststart.c
index 3e2acd5..ecf163a 100644
--- a/tools/qt-faststart.c
+++ b/tools/qt-faststart.c
@@ -97,7 +97,7 @@ int main(int argc, char *argv[])
     uint64_t i, j;
     uint32_t offset_count;
     uint64_t current_offset;
-    uint64_t start_offset = 0;
+    int64_t start_offset = 0;
     unsigned char *copy_buffer = NULL;
     int bytes_to_copy;
 



More information about the ffmpeg-cvslog mailing list