summaryrefslogtreecommitdiff
path: root/src/decoder
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-11-12 18:55:12 +0100
committerMax Kellermann <max@musicpd.org>2017-11-12 18:55:12 +0100
commite4a147218bad91d7283b59eab7f92e389209adba (patch)
treef042846f3a676a5067fd43f5917414704df5ed88 /src/decoder
parent4b2b89eb5e191a9e5e2f5fdb444fcbce47445478 (diff)
parenta2b77c88136788e68824251ac33c0200f2c9cd17 (diff)
Merge branch 'v0.20.x'
Diffstat (limited to 'src/decoder')
-rw-r--r--src/decoder/plugins/FfmpegDecoderPlugin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/plugins/FfmpegDecoderPlugin.cxx b/src/decoder/plugins/FfmpegDecoderPlugin.cxx
index 94f1306ca..4e7ac0fd6 100644
--- a/src/decoder/plugins/FfmpegDecoderPlugin.cxx
+++ b/src/decoder/plugins/FfmpegDecoderPlugin.cxx
@@ -258,7 +258,7 @@ FfmpegSendFrame(DecoderClient &client, InputStream &is,
try {
output_buffer = copy_interleave_frame(codec_context, frame,
buffer);
- } catch (const std::exception e) {
+ } catch (const std::exception &e) {
/* this must be a serious error, e.g. OOM */
LogError(e);
return DecoderCommand::STOP;