aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-01-12 18:28:19 +0100
committerMax Kellermann <max@duempel.org>2012-01-12 18:28:19 +0100
commit8d45d0d104c9f946cc8260d0fd335d34bf160e2c (patch)
tree3ad20c3f6e32017e3eb72c9864cfe035d5f7dc69
parentabd1949825896bd38202eb17029ca93fb3863103 (diff)
downloadmpd-8d45d0d104c9f946cc8260d0fd335d34bf160e2c.tar.gz
mpd-8d45d0d104c9f946cc8260d0fd335d34bf160e2c.tar.xz
mpd-8d45d0d104c9f946cc8260d0fd335d34bf160e2c.zip
decoder/ffmpeg: raise version dependency for avformat_find_stream_info()
This function was added when the libavformat version was 53.2.0, but the actual release 53.2.0 did not have it.
-rw-r--r--src/decoder/ffmpeg_decoder_plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decoder/ffmpeg_decoder_plugin.c b/src/decoder/ffmpeg_decoder_plugin.c
index d8650e2f7..91376576a 100644
--- a/src/decoder/ffmpeg_decoder_plugin.c
+++ b/src/decoder/ffmpeg_decoder_plugin.c
@@ -443,7 +443,7 @@ ffmpeg_decode(struct decoder *decoder, struct input_stream *input)
return;
}
-#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53,2,0)
+#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53,6,0)
const int find_result =
avformat_find_stream_info(format_context, NULL);
#else
@@ -648,7 +648,7 @@ ffmpeg_stream_tag(struct input_stream *is)
return NULL;
}
-#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53,2,0)
+#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53,6,0)
const int find_result =
avformat_find_stream_info(f, NULL);
#else