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:
Tim-Philipp Müller 2011-09-29 21:30:52 +01:00
parent 9c128d171a
commit 4b43972cf4

View file

@ -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;
}