[FFmpeg-devel] [patch]add mmsh protocol and extract common code for mmst.c
zhentan feng
spyfeng
Fri Aug 20 17:10:56 CEST 2010
Hi
On Fri, Aug 20, 2010 at 12:16 AM, Stefano Sabatini <
stefano.sabatini-lala at poste.it> wrote:
> On date Thursday 2010-08-19 23:55:40 +0800, zhentan feng encoded:
> [...]
>
> > + // send play request
> > + err = snprintf(headers, sizeof(headers),
> > + "Accept: */*\r\n"
> > + USERAGENT
> > + "Host: %s:%d\r\n"
> > + "Pragma: no-cache,rate=1.000000,request-context=%u\r\n"
> > + "Pragma: xPlayStrm=1\r\n"
> > + CLIENTGUID
> > + "Pragma: stream-switch-count=%d\r\n"
> > + "Pragma: stream-switch-entry=%s\r\n"
> > + "Connection: Close\r\n\r\n",
> > + host, port, mmsh->request_seq++, mms->stream_num,
> stream_selection);
>
> ditto
>
>
fixed all weird alignment.
> [...]
>
> > +URLProtocol mmsh_protocol = {
> > + .name = "mmsh",
> > + .url_open = mmsh_open,
> > + .url_read = mmsh_read,
>
> > + .url_write = NULL, // write
> > + .url_seek = NULL, // seek
>
> redundant comments
>
>
removed.
thanks.
zhentan
--
Best wishes~
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mmsh_820.patch
Type: application/octet-stream
Size: 14279 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100820/e6d4ef66/attachment.obj>
More information about the ffmpeg-devel
mailing list