From f3dff6792232d1e3f2deb8baf21dc1fa81581090 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Fri, 24 Mar 2017 11:02:27 +0100 Subject: Replace deprecated avcodec_decode_audio4 Use new send_packet/receive_frame API. Bumps libav and ffmpeg version requirements. Revert this commit if you need an older version. --- src/config.h | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'src/config.h') diff --git a/src/config.h b/src/config.h index e88f41b..2cc010f 100644 --- a/src/config.h +++ b/src/config.h @@ -1,5 +1,4 @@ -#ifndef SRC_CONFIG_H_S6A1C09K -#define SRC_CONFIG_H_S6A1C09K +#pragma once /* package name */ #define PACKAGE "pianobar" @@ -20,13 +19,3 @@ #define HAVE_AVFILTER_GRAPH_SEND_COMMAND #endif -/* need avcodec.h (ffmpeg 1.2) */ -#if LIBAVFILTER_VERSION_MAJOR == 3 && \ - LIBAVFILTER_VERSION_MINOR <= 42 && \ - LIBAVFILTER_VERSION_MINOR > 32 && \ - LIBAVFILTER_VERSION_MICRO >= 100 -#define HAVE_AV_BUFFERSINK_GET_BUFFER_REF -#define HAVE_LIBAVFILTER_AVCODEC_H -#endif - -#endif /* SRC_CONFIG_H_S6A1C09K */ -- cgit v1.2.3