Skip to content

Commit

Permalink
[scan] Fix error in debug function
Browse files Browse the repository at this point in the history
  • Loading branch information
ejurgensen authored Mar 20, 2024
1 parent 7d52c14 commit bf8e433
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/library/filescanner_ffmpeg.c
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ extract_metadata_from_dict(struct media_file_info *mfi, AVDictionary *md, const

#if 0
/* 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);
}
Expand Down

0 comments on commit bf8e433

Please sign in to comment.