summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2015-12-29 17:58:38 +0200
committerSebastian Dröge <sebastian@centricular.com>2015-12-29 17:58:38 +0200
commitbed1f0a0a6f10e69ef14e29b7e16a404f3e29fd9 (patch)
tree237daff026e92bd4dba41f19913d7b3a29aa1e4b
parent5fe9a59842b21ddf191b6815d99c214c3cc06ddb (diff)
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
-rw-r--r--ext/vpx/gstvpxdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/vpx/gstvpxdec.c b/ext/vpx/gstvpxdec.c
index fc75a7bd1..1d2ddca84 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;