mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 16:22:37 +00:00
bit: use explicit struct initializers.
This commit is contained in:
parent
bf85b909f6
commit
6f8c8fa8af
@ -82,13 +82,12 @@ static int read_packet(AVFormatContext *s,
|
||||
}
|
||||
|
||||
AVInputFormat ff_bit_demuxer = {
|
||||
"bit",
|
||||
"G.729 BIT file format",
|
||||
0,
|
||||
probe,
|
||||
read_header,
|
||||
read_packet,
|
||||
.extensions = "bit"
|
||||
.name = "bit",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("G.729 BIT file format"),
|
||||
.read_probe = probe,
|
||||
.read_header = read_header,
|
||||
.read_packet = read_packet,
|
||||
.extensions = "bit",
|
||||
};
|
||||
|
||||
#ifdef CONFIG_MUXERS
|
||||
@ -123,15 +122,13 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt)
|
||||
}
|
||||
|
||||
AVOutputFormat ff_bit_muxer = {
|
||||
"bit",
|
||||
"G.729 BIT file format",
|
||||
"audio/bit",
|
||||
"bit",
|
||||
0,
|
||||
CODEC_ID_G729,
|
||||
CODEC_ID_NONE,
|
||||
write_header,
|
||||
write_packet,
|
||||
.extensions = "bit"
|
||||
.name = "bit",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("G.729 BIT file format"),
|
||||
.mime_type = "audio/bit",
|
||||
.extensions = "bit",
|
||||
.audio_codec = CODEC_ID_G729,
|
||||
.video_codec = CODEC_ID_NONE,
|
||||
.write_header = write_header,
|
||||
.write_packet = write_packet,
|
||||
};
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user