subitleoverlay: fix compiler warning
gstsubtitleoverlay.c: In function 'gst_subtitle_overlay_video_sink_event': gstsubtitleoverlay.c:1736:22: error: 'target' may be used uninitialized in this function
This commit is contained in:
parent
9c128d171a
commit
4b43972cf4
@ -1731,9 +1731,11 @@ gst_subtitle_overlay_video_sink_setcaps (GstSubtitleOverlay * self,
|
||||
}
|
||||
GST_SUBTITLE_OVERLAY_UNLOCK (self);
|
||||
|
||||
out:
|
||||
if (target)
|
||||
gst_object_unref (target);
|
||||
|
||||
out:
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user