[Ffmpeg-cvslog] r8568 - trunk/ffserver.c

Alex Beregszaszi alex
Sat Mar 31 17:02:15 CEST 2007


Hi,

> >> > Log:
> >> > fix x-octet-stream mime type
> >> >
> >> > Modified: trunk/ffserver.c
> >> > ==============================================================================
> >> > --- trunk/ffserver.c	(original)
> >> > +++ trunk/ffserver.c	Sat Mar 31 16:39:04 2007
> >> > @@ -1541,7 +1541,7 @@ static int http_parse_request(HTTPContex
> >> >      q += snprintf(q, q - (char *) c->buffer + c->buffer_size, "HTTP/1.0 200 OK\r\n");
> >> >      mime_type = c->stream->fmt->mime_type;
> >> >      if (!mime_type)
> >> > -        mime_type = "application/x-octet_stream";
> >> > +        mime_type = "application/x-octet-stream";
> >> 
> >> Why is this application/x-octet-stream?  application/octet-stream is the
> >> standard MIME type for unknown data.
> >
> > So this should be reverted and changed to /octet-stream?
> 
> Unless the x-octet-stream is mandated by some clueless protocol, I'd
> say yes, although first changing it back to the old value seems
> unnecessary to me.

Ah yes, now we have manual reverts.

--
Alex Beregszaszi






More information about the ffmpeg-cvslog mailing list