summaryrefslogtreecommitdiff
path: root/gst/videoparsers/h263parse.c
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2013-07-15 23:01:31 +0100
committerTim-Philipp Müller <tim@centricular.net>2013-07-15 23:04:35 +0100
commitff495342f2e2c5360cac92957a0c28a80b47fbef (patch)
tree6259fc2b71a9cba095241b29740ab141a9ace26b /gst/videoparsers/h263parse.c
parent79249be0aae8ba77d1f7685ac5b3c36a4d8552c3 (diff)
downloadgstreamer-plugins-bad-ff495342f2e2c5360cac92957a0c28a80b47fbef.tar.gz
h263parse: fix height extraction for H263p
Diffstat (limited to 'gst/videoparsers/h263parse.c')
-rw-r--r--gst/videoparsers/h263parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/videoparsers/h263parse.c b/gst/videoparsers/h263parse.c
index bd118d32e..7c7ecbe6b 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;