mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
31ecfa95fb
commit
7b79c59fba
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue