mirror of https://github.com/FFmpeg/FFmpeg.git
This makes the behavior of av_file_map() the same on Windows as it is on other platforms. The file is opened as read-only, but the mapping is copy-on-write, allowing the user to write to the memory pages returned by av_file_map(). This commit fixes libavutil\tests\file.c test, which would crash when trying to write to a read-only memory page. Signed-off-by: Kacper Michajłow <kasper93@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>pull/391/head
parent
90af8e07b0
commit
92deed9732
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue