[FFmpeg-devel] Bug in libavformat/mov.c?

Ivan Zezyulya ivan
Thu Jul 10 09:38:01 CEST 2008


M?ns Rullg?rd wrote:
> I'm surprised that removing the check didn't cause a crash.
>
> The proper way to handle such files is, IMHO, to load the sample sizes
> in smaller chunks as needed, based on the current playback position.
> Loading them all would require an insane amount of memory.  This could
> be done either by seeking and reading, or (if virtual address space
> allows), by mmap()ing that section of the file, and let the OS take
> care of the caching.
>
> I'll leave an implementation to our resident quicktime experts.
>
>   
Thank you, M?ns, after your explanations it looks surprising for me also 
that ffmpeg doesn't crash on this file :). Will do some tests later...


Ivan




More information about the ffmpeg-devel mailing list