From 9d91aa23e6b91c50059f03710cd5cedf3328da8e Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 31 Mar 2011 12:55:18 +0200 Subject: decoder/ffmpeg: drop support for pre-0.5 ffmpeg All modern distros ship 0.5, so there's no need to support old and buggy ffmpeg versions. --- src/input/ffmpeg_input_plugin.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/input/ffmpeg_input_plugin.c') diff --git a/src/input/ffmpeg_input_plugin.c b/src/input/ffmpeg_input_plugin.c index b6f8d814a..de201e9cc 100644 --- a/src/input/ffmpeg_input_plugin.c +++ b/src/input/ffmpeg_input_plugin.c @@ -21,13 +21,8 @@ #include "input/ffmpeg_input_plugin.h" #include "input_plugin.h" -#ifdef OLD_FFMPEG_INCLUDES -#include -#include -#else #include #include -#endif #undef G_LOG_DOMAIN #define G_LOG_DOMAIN "input_ffmpeg" @@ -52,14 +47,12 @@ input_ffmpeg_init(G_GNUC_UNUSED const struct config_param *param, { av_register_all(); -#if LIBAVFORMAT_VERSION_MAJOR >= 52 /* disable this plugin if there's no registered protocol */ if (av_protocol_next(NULL) == NULL) { g_set_error(error_r, ffmpeg_quark(), 0, "No protocol"); return false; } -#endif return true; } -- cgit v1.2.3