From: Sebastian Dröge Date: Tue, 29 Dec 2015 15:58:38 +0000 (+0200) Subject: vpxdec: Initialize buffer variable to NULL X-Git-Tag: 1.10.4~673 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bed1f0a0a6f10e69ef14e29b7e16a404f3e29fd9;p=platform%2Fupstream%2Fgst-plugins-good.git vpxdec: Initialize buffer variable to NULL False positive but trivial to fix and possibly causing compiler warnings at some point in the future too. CID 1346535 --- diff --git a/ext/vpx/gstvpxdec.c b/ext/vpx/gstvpxdec.c index fc75a7b..1d2ddca 100644 --- a/ext/vpx/gstvpxdec.c +++ b/ext/vpx/gstvpxdec.c @@ -401,7 +401,7 @@ gst_vpx_dec_get_buffer_cb (gpointer priv, gsize min_size, vpx_codec_frame_buffer_t * fb) { GstVPXDec *dec = priv; - GstBuffer *buffer; + GstBuffer *buffer = NULL; struct Frame *frame; GstFlowReturn ret;