1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-29 22:00:58 +02:00

avformat/movenchint: Simplify writing padding

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2021-09-22 22:17:53 +02:00
parent bb98212930
commit 0f12d79a88

View File

@ -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)++;
}