From: <sl...@ke...> - 2010-06-15 17:47:33
|
Module: gst-plugins-good Branch: master Commit: acd0c1ff90fc3b9fba4b9f95cfa7a7a7b8f4caaf URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=acd0c1ff90fc3b9fba4b9f95cfa7a7a7b8f4caaf Author: Sebastian Dröge <seb...@co...> Date: Tue Jun 15 19:47:16 2010 +0200 v4l2: Initialize variable --- sys/v4l2/gstv4l2object.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c index a363d4a..46a5c6e 100644 --- a/sys/v4l2/gstv4l2object.c +++ b/sys/v4l2/gstv4l2object.c @@ -1731,7 +1731,7 @@ default_frame_sizes: /* Since we can't get framerate directly, try to use the current norm */ if (v4l2object->norm && v4l2object->norms) { GList *norms; - GstTunerNorm *norm; + GstTunerNorm *norm = NULL; for (norms = v4l2object->norms; norms != NULL; norms = norms->next) { norm = (GstTunerNorm *) norms->data; |