diff options
author | Jörg Müller <nexyon@gmail.com> | 2019-01-17 23:17:30 +0300 |
---|---|---|
committer | Jörg Müller <nexyon@gmail.com> | 2019-01-17 23:17:30 +0300 |
commit | d3e856cdfc0f184c230166046dd939baa0ac7a28 (patch) | |
tree | 4247f4e4b0c36a80618a2148575a547533da7b1b /extern/audaspace/plugins/ffmpeg | |
parent | 16fac2149b7ec830dc5ef2f9ebbfcd226ecec581 (diff) |
Audaspace: porting changes from upstream.
- Silence some warnings.
- Fix: Python API memory leak.
- Fix for T54490: VSE breaks when I insert or remove headphones
Diffstat (limited to 'extern/audaspace/plugins/ffmpeg')
-rw-r--r-- | extern/audaspace/plugins/ffmpeg/FFMPEGWriter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extern/audaspace/plugins/ffmpeg/FFMPEGWriter.cpp b/extern/audaspace/plugins/ffmpeg/FFMPEGWriter.cpp index 09b70897c31..2cd3261bd20 100644 --- a/extern/audaspace/plugins/ffmpeg/FFMPEGWriter.cpp +++ b/extern/audaspace/plugins/ffmpeg/FFMPEGWriter.cpp @@ -261,6 +261,8 @@ FFMPEGWriter::FFMPEGWriter(std::string filename, DeviceSpecs specs, Container fo case CHANNELS_SURROUND71: channel_layout = AV_CH_LAYOUT_7POINT1; break; + default: + AUD_THROW(FileException, "File couldn't be written, channel layout not supported."); } try |