avformat/file: Constify android content protocol

(The discrepancy between the definition and the declaration
in protocols.c is actually UB.)

Reviewed-by: Matthieu Bouron <matthieu.bouron@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2024-03-23 13:06:05 +01:00
parent a6189ba896
commit ebe8326409
1 changed files with 1 additions and 1 deletions

View File

@ -670,7 +670,7 @@ done:
return ret;
}
URLProtocol ff_android_content_protocol = {
const URLProtocol ff_android_content_protocol = {
.name = "content",
.url_open = android_content_open,
.url_read = file_read,