[FFmpeg-devel] [PATCH] Allow mpjpeg demuxer to process MIME parts which do not include Content-Length header.

Nicolas George george at nsup.org
Mon Nov 30 16:24:03 CET 2015

Le decadi 10 frimaire, an CCXXIV, Alexander Agranovsky a écrit :
> Without getting into a religious debate

This is the reason I gave practical argument.

> As pointed later in the thread, lu is used elsewhere. And yes, MS makes it
> interesting in this case.

wm4 explained that point. Really, long and short should only ever be used by
libc headers to implement intXX_t.

> I've pondered the change, but with
> if (!av_stristart(start, "boundary=")) {
>      start += 9;
> '9' seems a bit random, and with

This is the reason for the third argument of av_stristart():

	if (av_stristart(start, "boundary=", &start)) {
	    // no need to add 9, av_stristart() does it


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151130/220b438c/attachment.sig>

More information about the ffmpeg-devel mailing list