You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avformat/asfenc: Simplify writing error correction data
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -838,8 +838,7 @@ static int put_payload_parsing_info(AVFormatContext *s,
|
|||||||
av_assert0(padsize >= 0);
|
av_assert0(padsize >= 0);
|
||||||
|
|
||||||
avio_w8(pb, ASF_PACKET_ERROR_CORRECTION_FLAGS);
|
avio_w8(pb, ASF_PACKET_ERROR_CORRECTION_FLAGS);
|
||||||
for (int i = 0; i < ASF_PACKET_ERROR_CORRECTION_DATA_SIZE; i++)
|
ffio_fill(pb, 0x0, ASF_PACKET_ERROR_CORRECTION_DATA_SIZE);
|
||||||
avio_w8(pb, 0x0);
|
|
||||||
|
|
||||||
if (asf->multi_payloads_present)
|
if (asf->multi_payloads_present)
|
||||||
iLengthTypeFlags |= ASF_PPI_FLAG_MULTIPLE_PAYLOADS_PRESENT;
|
iLengthTypeFlags |= ASF_PPI_FLAG_MULTIPLE_PAYLOADS_PRESENT;
|
||||||
|
Reference in New Issue
Block a user