summaryrefslogtreecommitdiff
path: root/libavformat/md5proto.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/md5proto.c')
-rw-r--r--libavformat/md5proto.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libavformat/md5proto.c b/libavformat/md5proto.c
index c391dffedf..421808bb8a 100644
--- a/libavformat/md5proto.c
+++ b/libavformat/md5proto.c
@@ -25,6 +25,7 @@
#include "libavutil/error.h"
#include "avformat.h"
#include "avio.h"
+#include "url.h"
#define PRIV_SIZE 128
@@ -64,11 +65,11 @@ static int md5_close(URLContext *h)
av_strstart(filename, "md5:", &filename);
if (*filename) {
- err = url_open(&out, filename, URL_WRONLY);
+ err = ffurl_open(&out, filename, URL_WRONLY);
if (err)
return err;
- err = url_write(out, buf, i*2+1);
- url_close(out);
+ err = ffurl_write(out, buf, i*2+1);
+ ffurl_close(out);
} else {
if (fwrite(buf, 1, i*2+1, stdout) < i*2+1)
err = AVERROR(errno);