diff options
author | Matthieu Bouron <matthieu.bouron@gmail.com> | 2013-06-30 16:15:44 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-06-30 16:28:51 +0200 |
commit | 9e6d063dbc47d76cf79f98f531deca8b4afb879f (patch) | |
tree | a2d7ce91d7af0014a2e2fa39e823e00997754e09 | |
parent | 4e99660493110bf546bd6ab14a08755633400cf8 (diff) | |
download | ffmpeg-9e6d063dbc47d76cf79f98f531deca8b4afb879f.tar.gz |
lavf/movenc: use ffio_fill()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/movenc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index c18d8af2b6..c19d58d683 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -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; |