Author: spyfeng
Date: Thu Aug 19 17:33:08 2010
New Revision: 5926

Log:
use field designated init for mmsh protocol define.

Modified:
   mms/mmsh.c

Modified: mms/mmsh.c
==============================================================================
--- mms/mmsh.c  Thu Aug 19 17:25:33 2010        (r5925)
+++ mms/mmsh.c  Thu Aug 19 17:33:08 2010        (r5926)
@@ -359,10 +359,10 @@ static int mmsh_read(URLContext *h, uint
 }
 
 URLProtocol mmsh_protocol = {
-    "mmsh",
-    mmsh_open,
-    mmsh_read,
-    NULL, // write
-    NULL, // seek
-    mmsh_close,
+    .name      = "mmsh",
+    .url_open  = mmsh_open,
+    .url_read  = mmsh_read,
+    .url_write = NULL, // write
+    .url_seek  = NULL, // seek
+    .url_close = mmsh_close,
 };
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to