[FFmpeg-devel] [PATCH] Windows support for av_file_map()

Daniel Verkamp daniel
Fri Dec 31 20:26:36 CET 2010


On Fri, Dec 31, 2010 at 8:51 AM, Reimar D?ffinger
<Reimar.Doeffinger at gmx.de> wrote:
> On Fri, Dec 31, 2010 at 02:35:50AM -0700, Daniel Verkamp wrote:
>> 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.
>
> What? Why would it not be written back?

In the malloc() case is what I meant - av_file_unmap() simply frees the buffer.



More information about the ffmpeg-devel mailing list