y4menc: fix uninitialized variable warning

https://bugzilla.gnome.org/show_bug.cgi?id=711011
This commit is contained in:
Matthieu Bouron 2013-10-28 13:31:34 +00:00 committed by Tim-Philipp Müller
parent 2eec7909aa
commit ec8c141d6a

View file

@ -276,7 +276,7 @@ gst_y4m_encode_chain (GstPad * pad, GstObject * parent, GstBuffer * buf)
timestamp = GST_BUFFER_TIMESTAMP (buf);
if (G_UNLIKELY (!filter->header)) {
gboolean tff;
gboolean tff = FALSE;
if (GST_VIDEO_INFO_IS_INTERLACED (&filter->info)) {
tff = GST_BUFFER_FLAG_IS_SET (buf, GST_VIDEO_BUFFER_FLAG_TFF);