From 4aa3fa8a0dff93f389cb69489fded177b598da9f Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Mon, 30 Apr 2012 23:19:55 +0000 Subject: [PATCH] omxvideodec: Fix coding style in the drain-may-not-return hack code --- omx/gstomxvideodec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c index c9bddf60cc..4f729a1f6f 100644 --- a/omx/gstomxvideodec.c +++ b/omx/gstomxvideodec.c @@ -1399,8 +1399,8 @@ gst_omx_video_dec_drain (GstOMXVideoDec * self) gst_omx_port_release_buffer (self->in_port, buf); GST_DEBUG_OBJECT (self, "Waiting until component is drained"); - if (G_UNLIKELY(self->component->hacks & GST_OMX_HACK_DRAIN_MAY_NOT_RETURN)) { - GTimeVal tv = { .tv_sec = 0, .tv_usec = 500000 }; + if (G_UNLIKELY (self->component->hacks & GST_OMX_HACK_DRAIN_MAY_NOT_RETURN)) { + GTimeVal tv = {.tv_sec = 0,.tv_usec = 500000 }; if (!g_cond_timed_wait (self->drain_cond, self->drain_lock, &tv)) GST_WARNING_OBJECT (self, "Drain timed out");