Re: [FFmpeg-devel] [PATCH 1/2] avutil/file: do not request PROT_WRITE in av_file_map

2018-09-06 Thread Michael Niedermayer
On Thu, Sep 06, 2018 at 08:58:36PM +0200, Marton Balint wrote: > The documentation states that av_file_map can only be used for reading and for > WIN32 we are already requesting a read only mapping. libavutil/tests/file.c disagrees and its unhappy with this patch thx [...] -- Michael GnuPG

[FFmpeg-devel] [PATCH 1/2] avutil/file: do not request PROT_WRITE in av_file_map

2018-09-06 Thread Marton Balint
The documentation states that av_file_map can only be used for reading and for WIN32 we are already requesting a read only mapping. Signed-off-by: Marton Balint --- libavutil/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/file.c b/libavutil/file.c index 24a8