summaryrefslogtreecommitdiff
path: root/src/player.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/player.c')
-rw-r--r--src/player.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player.c b/src/player.c
index f3d9838..34573d7 100644
--- a/src/player.c
+++ b/src/player.c
@@ -288,7 +288,7 @@ void *BarPlayerThread (void *data) {
while (true) {
AVFilterBufferRef *audioref = NULL;
-#ifdef TEST_AV_BUFFERSINK_GET_BUFFER_REF
+#ifdef HAVE_AV_BUFFERSINK_GET_BUFFER_REF
/* ffmpeg’s compatibility layer is broken in some releases */
if (av_buffersink_get_buffer_ref (fbufsink, &audioref, 0) < 0) {
#else