summaryrefslogtreecommitdiff
path: root/libavformat/ncdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/ncdec.c')
-rw-r--r--libavformat/ncdec.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/libavformat/ncdec.c b/libavformat/ncdec.c
index 7e43adcd1e..8feda75214 100644
--- a/libavformat/ncdec.c
+++ b/libavformat/ncdec.c
@@ -91,11 +91,10 @@ static int nc_read_packet(AVFormatContext *s, AVPacket *pkt)
}
AVInputFormat ff_nc_demuxer = {
- "nc",
- NULL_IF_CONFIG_SMALL("NC camera feed format"),
- 0,
- nc_probe,
- nc_read_header,
- nc_read_packet,
+ .name = "nc",
+ .long_name = NULL_IF_CONFIG_SMALL("NC camera feed format"),
+ .read_probe = nc_probe,
+ .read_header = nc_read_header,
+ .read_packet = nc_read_packet,
.extensions = "v",
};