changeset 5935:bd378c64a9f5 libavformat

Add void to a function prototype that takes no arguments. Fixes a potential compiler warning.
author rbultje
date Mon, 05 Apr 2010 16:13:51 +0000
parents d9f196991fe4
children 3671d661f4b5
files rtpdec.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rtpdec.h	Sun Apr 04 22:19:42 2010 +0000
+++ b/rtpdec.h	Mon Apr 05 16:13:51 2010 +0000
@@ -140,7 +140,7 @@
                              int st_index,
                              PayloadContext *priv_data,
                              const char *line); ///< Parse the a= line from the sdp field
-    PayloadContext *(*open) (); ///< allocate any data needed by the rtp parsing for this dynamic data.
+    PayloadContext *(*open) (void); ///< allocate any data needed by the rtp parsing for this dynamic data.
     void (*close)(PayloadContext *protocol_data); ///< free any data needed by the rtp parsing for this dynamic data.
     DynamicPayloadPacketHandlerProc parse_packet; ///< parse handler for this dynamic packet.