Revision f35ff97f libavformat/file.c

View differences:

libavformat/file.c
95 95
}
96 96

  
97 97
URLProtocol ff_file_protocol = {
98
    "file",
99
    file_open,
100
    file_read,
101
    file_write,
102
    file_seek,
103
    file_close,
98
    .name                = "file",
99
    .url_open            = file_open,
100
    .url_read            = file_read,
101
    .url_write           = file_write,
102
    .url_seek            = file_seek,
103
    .url_close           = file_close,
104 104
    .url_get_file_handle = file_get_handle,
105 105
};
106 106

  
......
131 131
}
132 132

  
133 133
URLProtocol ff_pipe_protocol = {
134
    "pipe",
135
    pipe_open,
136
    file_read,
137
    file_write,
134
    .name                = "pipe",
135
    .url_open            = pipe_open,
136
    .url_read            = file_read,
137
    .url_write           = file_write,
138 138
    .url_get_file_handle = file_get_handle,
139 139
};
140 140

  

Also available in: Unified diff