diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-05-25 22:17:27 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-05-25 22:17:27 +0000 |
commit | 597b4b3f0327fe13c274508e78e2c947ff13ada3 (patch) | |
tree | 76b6e878bf5969370d91e83062e265c1c88f2787 /libavformat/avio.h | |
parent | 819174fa1be913c1b0741282a6ba472d70aea76c (diff) | |
download | ffmpeg-597b4b3f0327fe13c274508e78e2c947ff13ada3.tar.gz |
Define struct URLContext and typedef it to URLContext in one step.
Originally committed as revision 18948 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r-- | libavformat/avio.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h index be02b06f60..a814759bec 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -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; |