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:18:40 +0100
commitfe457ce4d16966d7f7d3cc87d2398325aa1a80e2 (patch)
treeecbab200b09ea7e79454ade92f71d955b2954f46
parent45069582897c0b59ec7c2ffd0f933b9fc3c2926e (diff)
downloadffmpeg-fe457ce4d16966d7f7d3cc87d2398325aa1a80e2.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 1143ea10d1..82e69ec06b 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -1857,7 +1857,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) {