[FFmpeg-cvslog] lavf/movenc: use ffio_fill()
Matthieu Bouron
git at videolan.org
Sun Jun 30 18:36:17 CEST 2013
ffmpeg | branch: master | Matthieu Bouron <matthieu.bouron at gmail.com> | Sun Jun 30 16:15:44 2013 +0200| [9e6d063dbc47d76cf79f98f531deca8b4afb879f] | committer: Michael Niedermayer
lavf/movenc: use ffio_fill()
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9e6d063dbc47d76cf79f98f531deca8b4afb879f
---
libavformat/movenc.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index c18d8af..c19d58d 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;
More information about the ffmpeg-cvslog
mailing list