avformat/movenchint: Simplify writing padding

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
pull/369/head
Andreas Rheinhardt 3 years ago
parent bb98212930
commit 0f12d79a88
  1. 3
      libavformat/movenchint.c

@ -260,8 +260,7 @@ static void output_immediate(const uint8_t *data, int size,
data += len; data += len;
size -= len; size -= len;
for (; len < 14; len++) ffio_fill(out, 0, 14 - len);
avio_w8(out, 0);
(*entries)++; (*entries)++;
} }

Loading…
Cancel
Save