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-06 18:28:35 +0100
commita620c463f05a5e852d125de551d6f25646e53f4a (patch)
tree998a9fabecd81540ab91bbacf53fac98497369f7
parent63b5cb1fb0cd3182bdc1a2a4a0b8b1193b4029b6 (diff)
downloadffmpeg-a620c463f05a5e852d125de551d6f25646e53f4a.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 67bb66e9b5..081d37b26e 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) {