mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01: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:
parent
bb98212930
commit
0f12d79a88
1 changed files with 1 additions and 2 deletions
|
|
@ -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)++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue