mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-01 18:21:04 +00:00
lavf/movenc: use ffio_fill()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
4e99660493
commit
9e6d063dbc
@ -2640,8 +2640,7 @@ static int mov_write_tfrf_tag(AVIOContext *pb, MOVMuxContext *mov,
|
||||
int free_size = 16*(mov->ism_lookahead - n);
|
||||
avio_wb32(pb, free_size);
|
||||
ffio_wfourcc(pb, "free");
|
||||
for (i = 0; i < free_size - 8; i++)
|
||||
avio_w8(pb, 0);
|
||||
ffio_fill(pb, 0, free_size - 8);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user