From: Ronald S. Bultje Date: Mon, 5 Apr 2010 16:13:51 +0000 (+0000) Subject: Add void to a function prototype that takes no arguments. Fixes a potential X-Git-Tag: v0.6~322 X-Git-Url: https://git.libav.org/?p=libav.git;a=commitdiff_plain;h=1da1e1933fe3e8e65e0591b143653c42436c937a Add void to a function prototype that takes no arguments. Fixes a potential compiler warning. Originally committed as revision 22803 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h index 366102af99..1e56e9e40a 100644 --- a/libavformat/rtpdec.h +++ b/libavformat/rtpdec.h @@ -140,7 +140,7 @@ struct RTPDynamicProtocolHandler_s { 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.