Whitespace

This commit is contained in:
Grigory Chudov
2013-04-28 12:46:00 -04:00
parent e0f3f7c4bd
commit a047fe42da

View File

@@ -1639,7 +1639,7 @@ namespace CUETools.Processor
} }
if (tocFromLog.AudioTracks == _toc.AudioTracks if (tocFromLog.AudioTracks == _toc.AudioTracks
// && tocFromLog.TOCID == _toc.TOCID // && tocFromLog.TOCID == _toc.TOCID
&& _toc.TrackCount == _toc.AudioTracks && _toc.TrackCount == _toc.AudioTracks
&& tocFromLog.FirstAudio > 1 && tocFromLog.FirstAudio > 1
&& tocFromLog.TrackCount == tocFromLog.FirstAudio + tocFromLog.AudioTracks - 1) && tocFromLog.TrackCount == tocFromLog.FirstAudio + tocFromLog.AudioTracks - 1)
@@ -3444,10 +3444,12 @@ namespace CUETools.Processor
(hdcdDecoder as IAudioFilter).AudioDest = null; (hdcdDecoder as IAudioFilter).AudioDest = null;
hdcdDecoder = null; hdcdDecoder = null;
if (audioSource != null) if (audioSource != null)
try { audioSource.Close(); } catch { } try { audioSource.Close(); }
catch { }
audioSource = null; audioSource = null;
if (audioDest != null) if (audioDest != null)
try { audioDest.Delete(); } catch { } try { audioDest.Delete(); }
catch { }
audioDest = null; audioDest = null;
throw ex; throw ex;
} }
@@ -3915,7 +3917,7 @@ namespace CUETools.Processor
{ {
audioSource.Position = sourceInfo.Offset; audioSource.Position = sourceInfo.Offset;
} }
catch(Exception ex) catch (Exception ex)
{ {
audioSource.Close(); audioSource.Close();
throw ex; throw ex;