You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
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:
committed by
Michael Niedermayer
parent
31ecfa95fb
commit
7b79c59fba
@@ -80,7 +80,7 @@ static int ivf_write_trailer(AVFormatContext *s)
|
|||||||
IVFEncContext *ctx = s->priv_data;
|
IVFEncContext *ctx = s->priv_data;
|
||||||
|
|
||||||
if ((pb->seekable & AVIO_SEEKABLE_NORMAL) && ctx->frame_cnt > 1) {
|
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);
|
avio_seek(pb, 24, SEEK_SET);
|
||||||
// overwrite the "length" field (duration)
|
// overwrite the "length" field (duration)
|
||||||
|
Reference in New Issue
Block a user