From ff495342f2e2c5360cac92957a0c28a80b47fbef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 15 Jul 2013 23:01:31 +0100 Subject: [PATCH] h263parse: fix height extraction for H263p --- gst/videoparsers/h263parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/videoparsers/h263parse.c b/gst/videoparsers/h263parse.c index bd118d32e4..7c7ecbe6bb 100644 --- a/gst/videoparsers/h263parse.c +++ b/gst/videoparsers/h263parse.c @@ -280,7 +280,7 @@ gst_h263_parse_get_params (H263Params * params, GstBuffer * buffer, } temp8 = cpfmt >> 19; params->width = (((cpfmt >> 10) & 0x1f) + 1) * 4; - params->height = (cpfmt & 0x1f) * 4; + params->height = ((cpfmt & 0x1f) + 1) * 4; if (temp8 == 0xf) { guint32 epar = 0;