summaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2017-03-24 11:02:27 +0100
committerLars-Dominik Braun <lars@6xq.net>2017-03-24 11:02:27 +0100
commitf3dff6792232d1e3f2deb8baf21dc1fa81581090 (patch)
tree1fd9dd95c2e7669f1b9479340c25710084e66053 /src/config.h
parente945578ab22912049f1e547ce7b25b01089f7590 (diff)
downloadpianobar-f3dff6792232d1e3f2deb8baf21dc1fa81581090.tar.gz
pianobar-f3dff6792232d1e3f2deb8baf21dc1fa81581090.tar.bz2
pianobar-f3dff6792232d1e3f2deb8baf21dc1fa81581090.zip
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.
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h13
1 files changed, 1 insertions, 12 deletions
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 */