[Ffmpeg-devel] Re: [PATCH] mov fourcc, mj2 format support, time scale fix

Baptiste COUDURIER baptiste.coudurier
Mon Mar 6 21:36:10 CET 2006


Hi

Michael Niedermayer wrote:
> [...[
> 
> resolution is a better choice then fps for detection
> 

All right, I'll do that.

> [...]
> 
>>+static int mov_read_jp2h(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
>>+{
>>+    AVStream *st = c->fc->streams[c->fc->nb_streams-1];
>>+
>>+    av_free(st->codec->extradata);
>>+
> 
> 
> a 
> if(atom.size > (1<<30)) return -1;
> should be added here for saftey
> 

Modified.

> 
> [...]
> 

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: motion_jpeg2000.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060306/c35658c6/attachment.asc>



More information about the ffmpeg-devel mailing list