diff options
Diffstat (limited to 'src/lib/encoder.cc')
| -rw-r--r-- | src/lib/encoder.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/encoder.cc b/src/lib/encoder.cc index 61e95a38a..6e1209d83 100644 --- a/src/lib/encoder.cc +++ b/src/lib/encoder.cc @@ -136,7 +136,7 @@ void Encoder::process_end () { #if HAVE_SWRESAMPLE - if (_film->audio_stream() && _swr_context) { + if (_film->audio_stream() && _film->audio_stream()->channels() && _swr_context) { shared_ptr<AudioBuffers> out (new AudioBuffers (_film->audio_stream()->channels(), 256)); |
