v4l2: Initialize variable

This commit is contained in:
Sebastian Dröge 2010-06-15 19:47:16 +02:00
parent 5a4ecc5b6f
commit acd0c1ff90

View file

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