]> git.sesse.net Git - ffmpeg/commitdiff
cmdutils: Use 64bit for file size/offset related variable in cmdutils_read_file()
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 6 Jan 2015 12:12:22 +0000 (13:12 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 6 Jan 2015 14:27:17 +0000 (15:27 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
cmdutils.c

index 2b4ab9e4d897286b4e909ddf1ad903e695c602d0..b35180e70552a3fe775523cbb2d539cee9dbe3d2 100644 (file)
@@ -1863,7 +1863,7 @@ int read_yesno(void)
 
 int cmdutils_read_file(const char *filename, char **bufptr, size_t *size)
 {
-    int ret;
+    int64_t ret;
     FILE *f = av_fopen_utf8(filename, "rb");
 
     if (!f) {