[FFmpeg-devel] [PATCH] OpenEXR decoder rev-3

Reimar Döffinger Reimar.Doeffinger
Thu Jul 2 09:49:03 CEST 2009


On Thu, Jul 02, 2009 at 08:52:36AM +0200, Jimmy Christensen wrote:
> On 2009-07-02 08:24, Reimar D?ffinger wrote:
> > Note that FFmpeg via avcodec_check_dimensions limits the size of a frame
> > to 256 MPixels, which in case of the float format would be just 1GB.
> > Thus caring about more than the lowest 32 bit seems pointless for
> > FFmpeg, particular since such large frames can't be processed with
> > FFmpeg on 32 bit systems at all, I doubt there is much of a point
> > in supporting things that can only work on 64 bit systems at all.
> 
> I will probably move away from using the table at all, so if it's read 
> as 32-bit or 64-bit should not matter that much anymore. Personally I 
> would rather do it according to the documentation.

I'd strongly recommend against taking the documentation seriously.
E.g. the "official" source code uses Int64 as type, so actually signed,
treating negative values as a sign of incomplete/broken files.



More information about the ffmpeg-devel mailing list