AVDictionary
首先给出AVDictionary在FFmpeg中的源码实现。
//AVDicttionary源码
struct AVDictionary {
int count; //elems数组中元素的个数
AVDictionaryEntry *elems; //AVDictionaryEntry数组
};
//AVDictionaryEntry源码
typedef struct AVDictionaryEntry {
char *key; //AVDictionaryEntry中将数据按照键值队的方式存储
char *value; //key为键 value为值 存放的均为字符串
} AVDictionaryEntry;