mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-07 03:02:17 +00:00
openexrdec: Catch exception by reference instead of by value
It would have to be copied otherwise, and is quite big. CID 1373419
This commit is contained in:
parent
ef70cd48c6
commit
4d434c7db5
1 changed files with 1 additions and 1 deletions
|
@ -342,7 +342,7 @@ gst_openexr_dec_handle_frame (GstVideoDecoder * decoder,
|
|||
MemIStream (gst_pad_get_stream_id (GST_VIDEO_DECODER_SINK_PAD
|
||||
(decoder)), map.data, map.size);
|
||||
}
|
||||
catch (Iex::BaseExc e) {
|
||||
catch (Iex::BaseExc& e) {
|
||||
gst_video_codec_frame_unref (frame);
|
||||
|
||||
GST_ELEMENT_ERROR (self, CORE, FAILED,
|
||||
|
|
Loading…
Reference in a new issue