h263parse: fix height extraction for H263p

This commit is contained in:
Tim-Philipp Müller 2013-07-15 23:01:31 +01:00
parent 79249be0aa
commit ff495342f2

View file

@ -280,7 +280,7 @@ gst_h263_parse_get_params (H263Params * params, GstBuffer * buffer,
} }
temp8 = cpfmt >> 19; temp8 = cpfmt >> 19;
params->width = (((cpfmt >> 10) & 0x1f) + 1) * 4; params->width = (((cpfmt >> 10) & 0x1f) + 1) * 4;
params->height = (cpfmt & 0x1f) * 4; params->height = ((cpfmt & 0x1f) + 1) * 4;
if (temp8 == 0xf) { if (temp8 == 0xf) {
guint32 epar = 0; guint32 epar = 0;