ffmpeg在调用avformat_open_input函数时发生段错误?-灵析社区

全能人才

如题,调用方式如下: avformat_open_input(&av_format_ctx, info->curr_info.url, NULL, NULL); 第一个参数初始化为 `NULL` 错误截图: ![image.png](https://wmprod.oss-cn-shanghai.aliyuncs.com/images/20250103/896c8e2dccfe44f2a89e58db27649d17.png)

阅读量:22

点赞量:0

问AI
无心插柳柳成萌
现成栈空间太小导致。段错误基本都是内存越界访问出现的