diff options
Diffstat (limited to 'src/decoder/plugins/FfmpegDecoderPlugin.cxx')
-rw-r--r-- | src/decoder/plugins/FfmpegDecoderPlugin.cxx | 2 |
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; |