int ff_ape_write_tag(AVFormatContext *s)
{
- AVDictionaryEntry *e = NULL;
+ const AVDictionaryEntry *e = NULL;
int size, ret, count = 0;
AVIOContext *dyn_bc;
uint8_t *dyn_buf;
return ret;
ff_standardize_creation_time(s);
- while ((e = av_dict_get(s->metadata, "", e, AV_DICT_IGNORE_SUFFIX))) {
+ while ((e = av_dict_iterate(s->metadata, e))) {
int val_len;
if (!string_is_ascii(e->key)) {