From b46afdc150ea66230f366e07355b1db3c2d3befc Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Thu, 2 Jun 2011 18:10:49 +0200 Subject: [PATCH] libav 0.7: Calling av_metadata_conv() is no longer needed --- src/filescanner_ffmpeg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/filescanner_ffmpeg.c b/src/filescanner_ffmpeg.c index 7e4c9c6f..25c6193b 100644 --- a/src/filescanner_ffmpeg.c +++ b/src/filescanner_ffmpeg.c @@ -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); } +#if LIBAVFORMAT_VERSION_MAJOR < 53 av_metadata_conv(ctx, NULL, ctx->iformat->metadata_conv); +#endif ret = extract_metadata(mfi, ctx, audio_stream, video_stream, md_map_generic); mdcount += ret;