mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avformat/astenc: Simplify writing padding
Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
8a3f8afa4e
commit
6e26015a6b
@ -118,9 +118,7 @@ static int ast_write_packet(AVFormatContext *s, AVPacket *pkt)
|
||||
avio_wb32(pb, size); /* Block size */
|
||||
|
||||
/* padding */
|
||||
avio_wb64(pb, 0);
|
||||
avio_wb64(pb, 0);
|
||||
avio_wb64(pb, 0);
|
||||
ffio_fill(pb, 0, 24);
|
||||
|
||||
avio_write(pb, pkt->data, pkt->size);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user