[FFmpeg-cvslog] r22803 - trunk/libavformat/rtpdec.h

rbultje subversion
Mon Apr 5 18:13:52 CEST 2010


Author: rbultje
Date: Mon Apr  5 18:13:51 2010
New Revision: 22803

Log:
Add void to a function prototype that takes no arguments. Fixes a potential
compiler warning.

Modified:
   trunk/libavformat/rtpdec.h

Modified: trunk/libavformat/rtpdec.h
==============================================================================
--- trunk/libavformat/rtpdec.h	Mon Apr  5 00:19:42 2010	(r22802)
+++ trunk/libavformat/rtpdec.h	Mon Apr  5 18:13:51 2010	(r22803)
@@ -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.
 



More information about the ffmpeg-cvslog mailing list