[FFmpeg-devel] [PATCH] mov demuxer crashes on certain .jp2 files

Baptiste Coudurier baptiste.coudurier
Tue Dec 16 09:50:44 CET 2008


Jai Menon wrote:
> Hi,
> The mov demuxer segfaults when parsing certain .jp2 files found at :
> http://samples.mplayerhq.hu/jpeg2000/j2kp4files_v1_2.zip/testfiles_jp2/*.jp2
> Attached patch fixes this issue.

Fixed in a slightly different way.
We still need to figure out what is the best way to handle .jp2 and .mj2.

My first feeling is that the decoder will need to support 'atom'
structure so .jp2 can be used with image2 format, maybe it does already,
I don't know.

.mj2 is ISO media with 'jp2h' atom in 'stsd', chunks of data are 'jp2c'
atoms IIRC.

Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
checking for life_signs in -lkenny... no

More information about the ffmpeg-devel mailing list