Commit b3c08241 authored by Michael Niedermayer's avatar Michael Niedermayer

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

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 369b4cd4)
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 918ed73b
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment