Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com>
---
 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)++;
     }
-- 
2.30.2

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to