[FFmpeg-cvslog] r18948 - trunk/libavformat/avio.h

stefano subversion
Tue May 26 00:17:27 CEST 2009


Author: stefano
Date: Tue May 26 00:17:27 2009
New Revision: 18948

Log:
Define struct URLContext and typedef it to URLContext in one step.

Modified:
   trunk/libavformat/avio.h

Modified: trunk/libavformat/avio.h
==============================================================================
--- trunk/libavformat/avio.h	Tue May 26 00:05:43 2009	(r18947)
+++ trunk/libavformat/avio.h	Tue May 26 00:17:27 2009	(r18948)
@@ -41,7 +41,7 @@
  * version bump.
  * sizeof(URLContext) must not be used outside libav*.
  */
-struct URLContext {
+typedef struct URLContext {
 #if LIBAVFORMAT_VERSION_MAJOR >= 53
     const AVClass *av_class; ///< information for av_log(). Set by url_open().
 #endif
@@ -51,9 +51,7 @@ struct URLContext {
     int max_packet_size;  /**< if non zero, the stream is packetized with this max packet size */
     void *priv_data;
     char *filename; /**< specified filename */
-};
-
-typedef struct URLContext URLContext;
+} URLContext;
 
 typedef struct URLPollEntry {
     URLContext *handle;



More information about the ffmpeg-cvslog mailing list