mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-14 08:15:02 -05:00
libav 0.7: Calling av_metadata_conv() is no longer needed
This commit is contained in:
parent
b1d31feb53
commit
b46afdc150
@ -554,7 +554,9 @@ scan_metadata_ffmpeg(char *file, struct media_file_info *mfi)
|
|||||||
DPRINTF(E_DBG, L_SCAN, "Picked up %d tags with extra md_map\n", ret);
|
DPRINTF(E_DBG, L_SCAN, "Picked up %d tags with extra md_map\n", ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if LIBAVFORMAT_VERSION_MAJOR < 53
|
||||||
av_metadata_conv(ctx, NULL, ctx->iformat->metadata_conv);
|
av_metadata_conv(ctx, NULL, ctx->iformat->metadata_conv);
|
||||||
|
#endif
|
||||||
|
|
||||||
ret = extract_metadata(mfi, ctx, audio_stream, video_stream, md_map_generic);
|
ret = extract_metadata(mfi, ctx, audio_stream, video_stream, md_map_generic);
|
||||||
mdcount += ret;
|
mdcount += ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user