Revision f87b1b37 libavformat/md5proto.c

View differences:

libavformat/md5proto.c
36 36
        return -1;
37 37
    }
38 38

  
39
    if (flags != URL_WRONLY)
39
    if (flags != AVIO_WRONLY)
40 40
        return AVERROR(EINVAL);
41 41

  
42 42
    av_md5_init(h->priv_data);
......
65 65
    av_strstart(filename, "md5:", &filename);
66 66

  
67 67
    if (*filename) {
68
        err = ffurl_open(&out, filename, URL_WRONLY);
68
        err = ffurl_open(&out, filename, AVIO_WRONLY);
69 69
        if (err)
70 70
            return err;
71 71
        err = ffurl_write(out, buf, i*2+1);

Also available in: Unified diff