aboutsummaryrefslogtreecommitdiffstats
path: root/src/media
diff options
context:
space:
mode:
Diffstat (limited to 'src/media')
-rw-r--r--src/media/UMediaCore_FFmpeg.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/media/UMediaCore_FFmpeg.pas b/src/media/UMediaCore_FFmpeg.pas
index b4951fe1..9eab7621 100644
--- a/src/media/UMediaCore_FFmpeg.pas
+++ b/src/media/UMediaCore_FFmpeg.pas
@@ -268,7 +268,7 @@ begin
else if ((flags and URL_WRONLY) <> 0) then
Mode := fmCreate // TODO: fmCreate is Read+Write -> reopen with fmOpenWrite
else
- Mode := fmOpenRead;
+ Mode := fmOpenRead or fmShareDenyWrite;
Result := 0;