summaryrefslogtreecommitdiff
path: root/libavformat/file.c
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2016-02-29 16:50:39 +0000
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2016-02-29 16:51:10 +0000
commit9c75148e6ebc88a0501e3d0242defb6dbdc3c23d (patch)
treee24939addbed549191606f8b6927b29b42c18394 /libavformat/file.c
parente3461197b1ffa0b4ebb80ee3d8567d3b286d7fc3 (diff)
parent2758cdedfb7ac61f8b5e4861f99218b6fd43491d (diff)
downloadffmpeg-9c75148e6ebc88a0501e3d0242defb6dbdc3c23d.tar.gz
Merge commit '2758cdedfb7ac61f8b5e4861f99218b6fd43491d'
This commit also disables the async fate test, because it used internal APIs in a non-kosher way, which no longer exists. * commit '2758cdedfb7ac61f8b5e4861f99218b6fd43491d': lavf: reorganize URLProtocols Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavformat/file.c')
-rw-r--r--libavformat/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/file.c b/libavformat/file.c
index 4812ad1b17..0c16b49f51 100644
--- a/libavformat/file.c
+++ b/libavformat/file.c
@@ -329,7 +329,7 @@ static int file_close_dir(URLContext *h)
#endif /* HAVE_LSTAT */
}
-URLProtocol ff_file_protocol = {
+const URLProtocol ff_file_protocol = {
.name = "file",
.url_open = file_open,
.url_read = file_read,
@@ -375,7 +375,7 @@ static int pipe_open(URLContext *h, const char *filename, int flags)
return 0;
}
-URLProtocol ff_pipe_protocol = {
+const URLProtocol ff_pipe_protocol = {
.name = "pipe",
.url_open = pipe_open,
.url_read = file_read,