ffmpeg | branch: master | Andreas Rheinhardt <[email protected]> | Wed Sep 22 22:17:53 2021 +0200| [0f12d79a88fcd08789fe826e40ea7d1324896b18] | committer: Andreas Rheinhardt
avformat/movenchint: Simplify writing padding Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Andreas Rheinhardt <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0f12d79a88fcd08789fe826e40ea7d1324896b18 --- libavformat/movenchint.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavformat/movenchint.c b/libavformat/movenchint.c index 47276091f3..35212f2c5d 100644 --- a/libavformat/movenchint.c +++ b/libavformat/movenchint.c @@ -260,8 +260,7 @@ static void output_immediate(const uint8_t *data, int size, data += len; size -= len; - for (; len < 14; len++) - avio_w8(out, 0); + ffio_fill(out, 0, 14 - len); (*entries)++; } _______________________________________________ ffmpeg-cvslog mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
