diff options
author | Timo Rothenpieler <timo@rothenpieler.org> | 2025-08-01 22:43:23 +0200 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2025-08-03 13:48:47 +0200 |
commit | 262d41c8042acfa7ff1da6f256c367be86ecddb2 (patch) | |
tree | a9fb6b7aec94868375cf94f139dcd265158dbf7c /libavformat/ipfsgateway.c | |
parent | 8d439b24839d486d1fcc858a2a5eb7ecd700e3a9 (diff) | |
download | ffmpeg-262d41c8042acfa7ff1da6f256c367be86ecddb2.tar.gz |
all: fix typos found by codespell
Diffstat (limited to 'libavformat/ipfsgateway.c')
-rw-r--r-- | libavformat/ipfsgateway.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/ipfsgateway.c b/libavformat/ipfsgateway.c index 1a8382d7be..4699b8c3d7 100644 --- a/libavformat/ipfsgateway.c +++ b/libavformat/ipfsgateway.c @@ -46,7 +46,7 @@ typedef struct IPFSGatewayContext { } IPFSGatewayContext; // A best-effort way to find the IPFS gateway. -// Only the most appropiate gateway is set. It's not actually requested +// Only the most appropriate gateway is set. It's not actually requested // (http call) to prevent a potential slowdown in startup. A potential timeout // is handled by the HTTP protocol. static int populate_ipfs_gateway(URLContext *h) @@ -171,7 +171,7 @@ static int populate_ipfs_gateway(URLContext *h) goto err; } - // Replace first occurence of end of line with \0 + // Replace first occurrence of end of line with \0 c->gateway_buffer[strcspn(c->gateway_buffer, "\r\n")] = 0; // If strlen finds anything longer then 0 characters then we have a |