diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-04-18 18:04:52 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-04-18 18:04:52 +0000 |
commit | 7bf53987b4699ef418476dd9de8ee37bba53cba9 (patch) | |
tree | 36eef405ce7d8ed785703ed6d1e3a08a80fed2c0 /src | |
parent | fc6bcba6ba551e8a8775b1474783d54fec439773 (diff) | |
download | usdx-7bf53987b4699ef418476dd9de8ee37bba53cba9.tar.gz usdx-7bf53987b4699ef418476dd9de8ee37bba53cba9.tar.xz usdx-7bf53987b4699ef418476dd9de8ee37bba53cba9.zip |
open ffmpeg video and audio files in shared mode. Crashed previously when a file was opened twice in read-only mode.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2248 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | src/media/UMediaCore_FFmpeg.pas | 2 |
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; |