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
release/0.6
Ronald S. Bultje 15 years ago
parent 0e1f78f90b
commit 1da1e1933f
  1. 2
      libavformat/rtpdec.h

@ -140,7 +140,7 @@ struct RTPDynamicProtocolHandler_s {
int st_index, int st_index,
PayloadContext *priv_data, PayloadContext *priv_data,
const char *line); ///< Parse the a= line from the sdp field 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. 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. DynamicPayloadPacketHandlerProc parse_packet; ///< parse handler for this dynamic packet.

Loading…
Cancel
Save