av_bswap32
1、简述
在学习FFmpeg源码中的例子时,发现FFmpeg封装了操作目录和文件的接口。这篇博客把这些接口罗列出来,作为笔记简单记录下。
2、接口列表
2.1 打开目录,准备读取目录信息
int avio_open_dir(AVIODirContext **s, const char *url, AVDictionary **options);
参数说明:
url——是传入的目录路径;
s——是返回的目录上下文,类似文件描述符,AVIODirContext定义如下
typedef struct AVIODirContext {
struct URLContext *url_context