summaryrefslogtreecommitdiff
path: root/libavformat/cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/cache.c')
-rw-r--r--libavformat/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/cache.c b/libavformat/cache.c
index 8e8b9e8412..2889e3b2a8 100644
--- a/libavformat/cache.c
+++ b/libavformat/cache.c
@@ -312,7 +312,7 @@ static const AVClass cache_context_class = {
.version = LIBAVUTIL_VERSION_INT,
};
-URLProtocol ff_cache_protocol = {
+const URLProtocol ff_cache_protocol = {
.name = "cache",
.url_open2 = cache_open,
.url_read = cache_read,