blob: bae70e486eb8cb7a5b0b5e0d130ac15d94fda826 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
From 586d87de3f896d0c4ff01b21f572375e11f9c3f1 Mon Sep 17 00:00:00 2001
From: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Date: Tue, 4 May 2021 14:20:47 +0100
Subject: [PATCH] configure: Remove deprecated API use
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index b35ef80bcd..d19714d0f6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -102,10 +102,10 @@ CFLAGS="$_CFLAGS $FFMPEG_CFLAGS"
AC_DEFUN([TEST_FFMPEG],
[AC_LINK_IFELSE([AC_LANG_PROGRAM([[
- #include <libavcodec/avcodec.h>
+ #include <libavformat/avformat.h>
#include <libswscale/swscale.h>
]],[[
- avcodec_register_all();
+ avformat_network_init();
swscale_version();
]])], [eval $1=yes], [eval $1=no])
])
|