[FFmpeg-cvslog] cmdutils: Use 64bit for file size/ offset related variable in cmdutils_read_file()

Michael Niedermayer git at videolan.org
Tue Jan 20 03:36:13 CET 2015


ffmpeg | branch: release/2.2 | Michael Niedermayer <michaelni at gmx.at> | Tue Jan  6 13:12:22 2015 +0100| [3e3193f03c7d0b331c91040d7659b0248c4ec221] | committer: Michael Niedermayer

cmdutils: Use 64bit for file size/offset related variable in cmdutils_read_file()

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit 369b4cd4120bf67aa5187b6bc72574970a24ca22)

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

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

 cmdutils.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmdutils.c b/cmdutils.c
index dc9bd2c..2e18d1b 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -1803,7 +1803,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) {



More information about the ffmpeg-cvslog mailing list