comparison mmst.c @ 6182:4fc5e0e4e1cd libavformat

Make ff_url_split() public ff_url_split() is retained as an alias, as it was used by ffserver, to avoid breaking ABI compatibility with it.
author mru
date Sun, 27 Jun 2010 14:16:46 +0000
parents 6c41d8dce99e
children fb720b9d8ee1
comparison
equal deleted inserted replaced
6181:cb49c916b7f4 6182:4fc5e0e4e1cd
579 mms = h->priv_data = av_mallocz(sizeof(MMSContext)); 579 mms = h->priv_data = av_mallocz(sizeof(MMSContext));
580 if (!h->priv_data) 580 if (!h->priv_data)
581 return AVERROR(ENOMEM); 581 return AVERROR(ENOMEM);
582 582
583 // only for MMS over TCP, so set proto = NULL 583 // only for MMS over TCP, so set proto = NULL
584 ff_url_split(NULL, 0, NULL, 0, 584 av_url_split(NULL, 0, NULL, 0,
585 mms->host, sizeof(mms->host), &port, mms->path, 585 mms->host, sizeof(mms->host), &port, mms->path,
586 sizeof(mms->path), uri); 586 sizeof(mms->path), uri);
587 587
588 if(port<0) 588 if(port<0)
589 port = 1755; // defaut mms protocol port 589 port = 1755; // defaut mms protocol port