decoder/ffpmeg: don't use av_metadata_conv() in ffmpeg 0.7

It's a no-op and deprecated.
This commit is contained in:
Max Kellermann 2011-05-09 21:17:09 +02:00
parent c74edd0e33
commit c6a72a14ac

View File

@ -473,7 +473,9 @@ ffmpeg_stream_tag(struct input_stream *is)
? f->duration / AV_TIME_BASE
: 0;
#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(52,101,0)
av_metadata_conv(f, NULL, f->iformat->metadata_conv);
#endif
for (unsigned i = 0; i < sizeof(ffmpeg_tag_maps)/sizeof(ffmpeg_tag_map); i++) {
int idx = ffmpeg_find_audio_stream(f);