[FFmpeg-devel] [PATCH 1/2] avidec: XMPG support

Michael Niedermayer michaelni at gmx.at
Fri Jan 13 23:31:52 CET 2012


On Fri, Jan 13, 2012 at 08:44:53PM +0100, Reimar Döffinger wrote:
> On Fri, Jan 13, 2012 at 05:57:29AM +0100, Michael Niedermayer wrote:
> > +                if(size<(1<<30) && !st->codec->extradata_size){
> 
> I think you just merged some commits that added a define for max.
> extradata size.

Iam not sure if i understand you
XMPG stores the sequence headers in a strd chunk that has to be read
and the size check is to avoid + padding from overflowing.

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120113/9a5d2b98/attachment.asc>


More information about the ffmpeg-devel mailing list