mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
lavf: use designated initialisers for all (de)muxers.
It's more readable and less prone to breakage.
This commit is contained in:
@ -142,13 +142,13 @@ static int adts_write_packet(AVFormatContext *s, AVPacket *pkt)
|
||||
}
|
||||
|
||||
AVOutputFormat ff_adts_muxer = {
|
||||
"adts",
|
||||
NULL_IF_CONFIG_SMALL("ADTS AAC"),
|
||||
"audio/aac",
|
||||
"aac,adts",
|
||||
sizeof(ADTSContext),
|
||||
CODEC_ID_AAC,
|
||||
CODEC_ID_NONE,
|
||||
adts_write_header,
|
||||
adts_write_packet,
|
||||
.name = "adts",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("ADTS AAC"),
|
||||
.mime_type = "audio/aac",
|
||||
.extensions = "aac,adts",
|
||||
.priv_data_size = sizeof(ADTSContext),
|
||||
.audio_codec = CODEC_ID_AAC,
|
||||
.video_codec = CODEC_ID_NONE,
|
||||
.write_header = adts_write_header,
|
||||
.write_packet = adts_write_packet,
|
||||
};
|
||||
|
Reference in New Issue
Block a user