omx/h264: remove stray semicolon after if
authorDave Airlie <airlied@redhat.com>
Mon, 1 Sep 2014 23:39:24 +0000 (09:39 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 2 Sep 2014 21:58:58 +0000 (07:58 +1000)
Coverity reported this, looks wrong to me.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/state_trackers/omx/vid_dec_h264.c

index 7f1c2facc391a6ede8fcd2de83b3c69ce2031a97..7b57785c28f0dbe3d05c0b379d65bcadcdc195da 100644 (file)
@@ -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;