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>
This commit is contained in:
Andreas Rheinhardt 2020-02-27 06:33:50 +01:00 committed by Michael Niedermayer
parent 31ecfa95fb
commit 7b79c59fba
1 changed files with 1 additions and 1 deletions

View File

@ -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)