typedef struct URLContext {
const AVClass *av_class; /**< information for av_log(). Set by url_open(). */
struct URLProtocol *prot;
void *priv_data;
char *filename; /**< specified URL */
int flags;
int max_packet_size; /**< if non zero, the stream is packetized with this max packet size */
int is_streamed; /**< true if streamed (no seek possible), default = false */
int is_connected;
AVIOInterruptCB interrupt_callback;
int64_t rw_timeout; /**< maximum time to wait for (network) read/write operation completion, in mcs */
} URLContext;ffmpeg数据结构-URLContext
最新推荐文章于 2025-09-03 09:11:09 发布
本文详细介绍了FFmpeg中用于处理URL上下文的结构URLContext。该结构定义了处理不同URL所需的字段,如协议类型、私有数据、文件名等,并解释了如何通过这些字段配置读写操作。
3918

被折叠的 条评论
为什么被折叠?



