mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-06 14:15:29 +01:00
lavf: use designated initialisers for all (de)muxers.
It's more readable and less prone to breakage.
This commit is contained in:
@@ -131,10 +131,9 @@ static int msnwc_tcp_read_packet(AVFormatContext *ctx, AVPacket *pkt)
|
||||
}
|
||||
|
||||
AVInputFormat ff_msnwc_tcp_demuxer = {
|
||||
"msnwctcp",
|
||||
NULL_IF_CONFIG_SMALL("MSN TCP Webcam stream"),
|
||||
0,
|
||||
msnwc_tcp_probe,
|
||||
msnwc_tcp_read_header,
|
||||
msnwc_tcp_read_packet,
|
||||
.name = "msnwctcp",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("MSN TCP Webcam stream"),
|
||||
.read_probe = msnwc_tcp_probe,
|
||||
.read_header = msnwc_tcp_read_header,
|
||||
.read_packet = msnwc_tcp_read_packet,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user