Commit fbf3edf0 authored by Max Kellermann's avatar Max Kellermann

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

It's a no-op and deprecated.
parent 76fcf258
...@@ -568,7 +568,9 @@ ffmpeg_stream_tag(struct input_stream *is) ...@@ -568,7 +568,9 @@ ffmpeg_stream_tag(struct input_stream *is)
: 0; : 0;
#if LIBAVFORMAT_VERSION_INT >= ((52<<16)+(31<<8)+0) #if LIBAVFORMAT_VERSION_INT >= ((52<<16)+(31<<8)+0)
#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(52,101,0)
av_metadata_conv(f, NULL, f->iformat->metadata_conv); av_metadata_conv(f, NULL, f->iformat->metadata_conv);
#endif
for (unsigned i = 0; i < sizeof(ffmpeg_tag_maps)/sizeof(ffmpeg_tag_map); i++) { for (unsigned i = 0; i < sizeof(ffmpeg_tag_maps)/sizeof(ffmpeg_tag_map); i++) {
int idx = ffmpeg_find_audio_stream(f); int idx = ffmpeg_find_audio_stream(f);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment