diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-02-27 06:33:50 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-02-28 19:40:05 +0100 |
commit | 7b79c59fba445d932aec6e553176821b187125ba (patch) | |
tree | 39e5c2fee287e03573a8553aa191c62e95385c15 | |
parent | 31ecfa95fbb6597a7e3be7ece6137938b7a0f96b (diff) | |
download | ffmpeg-7b79c59fba445d932aec6e553176821b187125ba.tar.gz |
avformat/ivfenc: Don't use size_t for size of file
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavformat/ivfenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/ivfenc.c b/libavformat/ivfenc.c index eb70421c44..45e5b238dc 100644 --- a/libavformat/ivfenc.c +++ b/libavformat/ivfenc.c @@ -80,7 +80,7 @@ static int ivf_write_trailer(AVFormatContext *s) IVFEncContext *ctx = s->priv_data; if ((pb->seekable & AVIO_SEEKABLE_NORMAL) && ctx->frame_cnt > 1) { - size_t end = avio_tell(pb); + int64_t end = avio_tell(pb); avio_seek(pb, 24, SEEK_SET); // overwrite the "length" field (duration) |