[FFmpeg-devel] [patch]add mmsh protocol and extract common code for mmst.c

zhentan feng spyfeng
Fri Aug 20 15:42:57 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:
> [...]
>
> > +    snprintf(headers, sizeof(headers),
> > +        "Accept: */*\r\n"
> > +        USERAGENT
> > +        "Host: %s:%d\r\n"
> > +        "Pragma: no-cache,rate=1.000000,stream-time=0,"
> > +        "stream-offset=0:0,request-context=%u,max-duration=0\r\n"
> > +        CLIENTGUID
> > +        "Connection: Close\r\n\r\n",
> > +        host, port, mmsh->request_seq++);
>
> ditto
>
> what's the problem with this item? The indent is 4 characters.
I split into several lines for more readable as HTTP message type.

btw:I try to find the rule to follow according to ffprobe.c code style,
but I am still not clear what's the NOT weird indent?
could you explain it more?

thanks
zhentan
-- 
Best wishes~



More information about the ffmpeg-devel mailing list