Mesa (master): omx/h264: remove stray semicolon after if

Dave Airlie airlied at kemper.freedesktop.org
Tue Sep 2 21:59:39 UTC 2014


Module: Mesa
Branch: master
Commit: 2b24e5831048727071a5e0359e1eb1f589d45cfb
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2b24e5831048727071a5e0359e1eb1f589d45cfb

Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Sep  2 09:39:24 2014 +1000

omx/h264: remove stray semicolon after if

Coverity reported this, looks wrong to me.

Reviewed-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Dave Airlie <airlied at redhat.com>

---

 src/gallium/state_trackers/omx/vid_dec_h264.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/state_trackers/omx/vid_dec_h264.c b/src/gallium/state_trackers/omx/vid_dec_h264.c
index 7f1c2fa..7b57785 100644
--- a/src/gallium/state_trackers/omx/vid_dec_h264.c
+++ b/src/gallium/state_trackers/omx/vid_dec_h264.c
@@ -681,7 +681,7 @@ static void slice_header(vid_dec_PrivateType *priv, struct vl_rbsp *rbsp,
       if (priv->picture.h264.field_pic_flag) {
          unsigned bottom_field_flag = vl_rbsp_u(rbsp, 1);
 
-         if (bottom_field_flag != priv->picture.h264.bottom_field_flag);
+         if (bottom_field_flag != priv->picture.h264.bottom_field_flag)
             vid_dec_h264_EndFrame(priv);
 
          priv->picture.h264.bottom_field_flag = bottom_field_flag;




More information about the mesa-commit mailing list