[scan] Fix error in debug function

This commit is contained in:
ejurgensen 2024-03-20 09:27:30 +01:00 committed by GitHub
parent 7d52c14dea
commit bf8e433a0e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -333,7 +333,7 @@ extract_metadata_from_dict(struct media_file_info *mfi, AVDictionary *md, const
#if 0 #if 0
/* Dump all the metadata reported by ffmpeg */ /* Dump all the metadata reported by ffmpeg */
while ((mdt = av_dict_iterate(md, mdt))) for (mdt = av_dict_iterate(md, NULL); mdt; mdt = av_dict_iterate(md, mdt))
{ {
DPRINTF(E_DBG, L_SCAN, " -> %s = %s\n", mdt->key, mdt->value); DPRINTF(E_DBG, L_SCAN, " -> %s = %s\n", mdt->key, mdt->value);
} }