From: George Kiagiadakis Date: Mon, 30 Apr 2012 23:19:55 +0000 (+0000) Subject: omxvideodec: Fix coding style in the drain-may-not-return hack code X-Git-Tag: 1.19.3~501^2~771 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4aa3fa8a0dff93f389cb69489fded177b598da9f;p=platform%2Fupstream%2Fgstreamer.git omxvideodec: Fix coding style in the drain-may-not-return hack code --- diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c index c9bddf6..4f729a1 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");