summaryrefslogtreecommitdiff
path: root/libavformat/mmst.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/mmst.c')
-rw-r--r--libavformat/mmst.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/libavformat/mmst.c b/libavformat/mmst.c
index 30219dcecb..a3f260939d 100644
--- a/libavformat/mmst.c
+++ b/libavformat/mmst.c
@@ -623,10 +623,8 @@ static int mms_read(URLContext *h, uint8_t *buf, int size)
}
URLProtocol ff_mmst_protocol = {
- "mmst",
- mms_open,
- mms_read,
- NULL, // write
- NULL, // seek
- mms_close,
+ .name = "mmst",
+ .url_open = mms_open,
+ .url_read = mms_read,
+ .url_close = mms_close,
};