[FFmpeg-devel] [PATCH] Windows support for av_file_map()
Sat Jan 1 19:39:00 CET 2011
On Fri, Dec 31, 2010 at 02:35:50AM -0700, Daniel Verkamp wrote:
> Here's a simple implementation of av_file_map() using
> CreateFileMapping() and MapViewOfFile(), which are the rough Win32
> equivalent of mmap().
> This currently maps a read-only view of the file; this could be
> changed to R/W to match the mmap() path if desired, but any code
> expecting to actually use it for writing will fail with the non-mmap()
> path anyway since the file is never written back in that case.
> -- Daniel Verkamp
lgtm if tested
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel