|
From: Burkhard P. <pl...@ip...> - 2011-03-10 16:25:46
|
Hi, Am 10.03.2011 17:13, schrieb Torsten Mohr: > Hello, > >> As far as I know, there is at most one padding byte in AVIs >> such that all chunks (header chunks and data chunks) start at even >> file offsets. > > thanks for your answer. > > This is not what i experience when decoding an AVI that contains single JPEGs. > > The JPEGs themselves contain correct start- and end-markers and after the end- > markers there is a variable amount of padding. > The padding is always 0x00 and the number is variable from 0 to 24 (can be > more, i did not look further). > > > Best regards, > Torsten. If the total size (including padding) of the JPEG-frame is the AVI chunk size, this isn't a AVI issue but a JPEG issue. I guess every sane JPEG-decoder will ignore all data after the end-marker, but the JPEG-Standard might tell more about this. Burkhard |