aboutsummaryrefslogtreecommitdiffstats
path: root/cmdutils.c
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 16:10:43 +0100
commit3e3193f03c7d0b331c91040d7659b0248c4ec221 (patch)
treee03cfee2cf31f0e5eee9321c91974b163dda5b7b /cmdutils.c
parent3b17c1e13e45b17ca9ec87360db6752b2f902f04 (diff)
downloadffmpeg-3e3193f03c7d0b331c91040d7659b0248c4ec221.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>
Diffstat (limited to 'cmdutils.c')
-rw-r--r--cmdutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdutils.c b/cmdutils.c
index dc9bd2cc00..2e18d1b63c 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) {