Revision f35ff97f libavformat/http.c

View differences:

libavformat/http.c
505 505
}
506 506

  
507 507
URLProtocol ff_http_protocol = {
508
    "http",
509
    http_open,
510
    http_read,
511
    http_write,
512
    http_seek,
513
    http_close,
508
    .name                = "http",
509
    .url_open            = http_open,
510
    .url_read            = http_read,
511
    .url_write           = http_write,
512
    .url_seek            = http_seek,
513
    .url_close           = http_close,
514 514
    .url_get_file_handle = http_get_file_handle,
515
    .priv_data_size = sizeof(HTTPContext),
516
    .priv_data_class = &httpcontext_class,
515
    .priv_data_size      = sizeof(HTTPContext),
516
    .priv_data_class     = &httpcontext_class,
517 517
};

Also available in: Unified diff