Commit 88ea45c6 authored by stefano's avatar stefano

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18948 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 204652fb
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment