mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-09 14:14:39 +02:00
Define struct URLContext and typedef it to URLContext in one step.
Originally committed as revision 18948 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
819174fa1b
commit
597b4b3f03
@ -41,7 +41,7 @@
|
|||||||
* version bump.
|
* version bump.
|
||||||
* sizeof(URLContext) must not be used outside libav*.
|
* sizeof(URLContext) must not be used outside libav*.
|
||||||
*/
|
*/
|
||||||
struct URLContext {
|
typedef struct URLContext {
|
||||||
#if LIBAVFORMAT_VERSION_MAJOR >= 53
|
#if LIBAVFORMAT_VERSION_MAJOR >= 53
|
||||||
const AVClass *av_class; ///< information for av_log(). Set by url_open().
|
const AVClass *av_class; ///< information for av_log(). Set by url_open().
|
||||||
#endif
|
#endif
|
||||||
@ -51,9 +51,7 @@ struct URLContext {
|
|||||||
int max_packet_size; /**< if non zero, the stream is packetized with this max packet size */
|
int max_packet_size; /**< if non zero, the stream is packetized with this max packet size */
|
||||||
void *priv_data;
|
void *priv_data;
|
||||||
char *filename; /**< specified filename */
|
char *filename; /**< specified filename */
|
||||||
};
|
} URLContext;
|
||||||
|
|
||||||
typedef struct URLContext URLContext;
|
|
||||||
|
|
||||||
typedef struct URLPollEntry {
|
typedef struct URLPollEntry {
|
||||||
URLContext *handle;
|
URLContext *handle;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user