aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-01-06 13:12:22 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-01-09 17:19:10 +0100
commitb3c082412cdaa2a2c82dcca91a57e9cbf1f2a84d (patch)
tree914dff370cce95c6ce8123dfe2441d6096b6bc75
parent918ed73b70a9ab7c48969256a399b2c2a4f0893c (diff)
downloadffmpeg-b3c082412cdaa2a2c82dcca91a57e9cbf1f2a84d.tar.gz
cmdutils: Use 64bit for file size/offset related variable in cmdutils_read_file()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 369b4cd4120bf67aa5187b6bc72574970a24ca22) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--cmdutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdutils.c b/cmdutils.c
index b68dae9753..708b536a68 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -1860,7 +1860,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) {