X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fmsnwc_tcp.c;h=a08938a9dfc7857718f46eb8e7ec8c2832e6ed76;hb=23a287e9cc4bfebd98190f2442367f7c0c94099f;hp=252ce34f6bd3b1ca42f2b0c9a01411a8477fb7d3;hpb=3602ad7ee6fe5caa402e61aa04ac695e1c46fe5e;p=ffmpeg diff --git a/libavformat/msnwc_tcp.c b/libavformat/msnwc_tcp.c index 252ce34f6bd..a08938a9dfc 100644 --- a/libavformat/msnwc_tcp.c +++ b/libavformat/msnwc_tcp.c @@ -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, };