[MPlayer-dev-eng] [PATCH] MJPEG patch of APP0/COM skip

attila attila at pai.kinali.ch
Sun Jul 18 03:45:10 CEST 2004


On Mon, Jan 26, 2004 at 01:13:15PM +1100, John Witford wrote:
> 
> Not all JPEG segments necessarily escape marker values.
> Therefore it is wrong to just ignore an unwanted marker
> and depend on a generic marker search to skip over the
> unwanted segment contents.
> 
> This is particularly important for the APP0 segment
> because it can include a wide variety of data.
> For example, an APP0 "AVI1" segment might contain
> the length of the image (EOI-SOS) and therefore might
> contain an unescaped marker byte.
> 
> The following patch for MJPEG decoding (libavcodec/mjpeg.c)
> forces the use of the segment length when skipping for
> certain marker types.

What happend to this patch ?

		Attila Kinali




More information about the MPlayer-dev-eng mailing list