summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2022-05-20 14:55:46 +0300
committerMartin Storsjö <martin@martin.st>2022-05-23 13:52:45 +0300
commit6076dbcb55d0c9b6693d1acad12a63f7268301aa (patch)
treec20f84394e1f041c912b140ab2c0777af1adccea /libavformat
parent4cdc14aa955805931b918d30d9c7349ab924dd52 (diff)
Switch uses of av_fopen_utf8 to avpriv_fopen_utf8
The former has been deprecated. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/ipfsgateway.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/ipfsgateway.c b/libavformat/ipfsgateway.c
index 9b0d3dea59..83d52293b4 100644
--- a/libavformat/ipfsgateway.c
+++ b/libavformat/ipfsgateway.c
@@ -139,7 +139,7 @@ static int populate_ipfs_gateway(URLContext *h)
}
// Get the contents of the gateway file.
- gateway_file = av_fopen_utf8(ipfs_gateway_file, "r");
+ gateway_file = avpriv_fopen_utf8(ipfs_gateway_file, "r");
if (!gateway_file) {
av_log(h, AV_LOG_WARNING,
"The IPFS gateway file (full uri: %s) doesn't exist. "