libav 0.7: Calling av_metadata_conv() is no longer needed

This commit is contained in:
Julien BLACHE 2011-06-02 18:10:49 +02:00
parent b1d31feb53
commit b46afdc150

View File

@ -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;