Commit 6f8c8fa8 authored by Clément Bœsch's avatar Clément Bœsch

bit: use explicit struct initializers.

parent bf85b909
...@@ -82,13 +82,12 @@ static int read_packet(AVFormatContext *s, ...@@ -82,13 +82,12 @@ static int read_packet(AVFormatContext *s,
} }
AVInputFormat ff_bit_demuxer = { AVInputFormat ff_bit_demuxer = {
"bit", .name = "bit",
"G.729 BIT file format", .long_name = NULL_IF_CONFIG_SMALL("G.729 BIT file format"),
0, .read_probe = probe,
probe, .read_header = read_header,
read_header, .read_packet = read_packet,
read_packet, .extensions = "bit",
.extensions = "bit"
}; };
#ifdef CONFIG_MUXERS #ifdef CONFIG_MUXERS
...@@ -123,15 +122,13 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt) ...@@ -123,15 +122,13 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt)
} }
AVOutputFormat ff_bit_muxer = { AVOutputFormat ff_bit_muxer = {
"bit", .name = "bit",
"G.729 BIT file format", .long_name = NULL_IF_CONFIG_SMALL("G.729 BIT file format"),
"audio/bit", .mime_type = "audio/bit",
"bit", .extensions = "bit",
0, .audio_codec = CODEC_ID_G729,
CODEC_ID_G729, .video_codec = CODEC_ID_NONE,
CODEC_ID_NONE, .write_header = write_header,
write_header, .write_packet = write_packet,
write_packet,
.extensions = "bit"
}; };
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment