libs: decoder: h264: improve code-style

https://bugzilla.gnome.org/show_bug.cgi?id=786173
This commit is contained in:
Víctor Manuel Jáquez Leal 2017-08-24 20:26:11 +02:00
parent b942f9e17f
commit d9c88f4785

View file

@ -1581,8 +1581,8 @@ ensure_context (GstVaapiDecoderH264 * decoder, GstH264SPS * sps)
}
mb_width = sps->pic_width_in_mbs_minus1 + 1;
mb_height = (sps->pic_height_in_map_units_minus1 + 1) <<
!sps->frame_mbs_only_flag;
mb_height =
(sps->pic_height_in_map_units_minus1 + 1) << !sps->frame_mbs_only_flag;
if (priv->mb_width != mb_width || priv->mb_height != mb_height) {
GST_DEBUG ("size changed");
reset_context = TRUE;