[totem/gnome-3-6: 3/3] gst: Fix possible use before set in pixbuf
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/gnome-3-6: 3/3] gst: Fix possible use before set in pixbuf
- Date: Mon, 10 Sep 2012 14:06:55 +0000 (UTC)
commit c83729f4efa47f0829bb7151d11ebdecda84cb2b
Author: Bastien Nocera <hadess hadess net>
Date: Wed Aug 1 20:00:50 2012 +0200
gst: Fix possible use before set in pixbuf
src/gst/totem-gst-pixbuf-helpers.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gst/totem-gst-pixbuf-helpers.c b/src/gst/totem-gst-pixbuf-helpers.c
index 54ca325..a7675d5 100644
--- a/src/gst/totem-gst-pixbuf-helpers.c
+++ b/src/gst/totem-gst-pixbuf-helpers.c
@@ -46,7 +46,7 @@ totem_gst_playbin_get_frame (GstElement *play)
{
GstStructure *s;
GstSample *sample = NULL;
- GdkPixbuf *pixbuf;
+ GdkPixbuf *pixbuf = NULL;
GstCaps *to_caps, *sample_caps;
gint outwidth = 0;
gint outheight = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]