diff options
author | David Schleef <ds@schleef.org> | 2010-12-22 15:29:56 -0800 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2010-12-22 15:30:36 -0800 |
commit | 0c4820914cc03d0031301cad117c3326146d1c31 (patch) | |
tree | 661af0238a0f09a68f040665b9bbd54e00d007c9 /ext | |
parent | e443ae6000ddfd4d469c6614914fd700396558b1 (diff) |
oggstream: Fix parsing of theora size
Diffstat (limited to 'ext')
-rw-r--r-- | ext/ogg/gstoggstream.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/ogg/gstoggstream.c b/ext/ogg/gstoggstream.c index f8ba6c09f..783364a20 100644 --- a/ext/ogg/gstoggstream.c +++ b/ext/ogg/gstoggstream.c @@ -343,8 +343,8 @@ setup_theora_mapper (GstOggStream * pad, ogg_packet * packet) guint8 *data = packet->packet; guint w, h, par_d, par_n; - w = GST_READ_UINT24_BE (data + 14) & 0xFFFFF0; - h = GST_READ_UINT24_BE (data + 17) & 0xFFFFF0; + w = GST_READ_UINT24_BE (data + 14) & 0xFFFFFF; + h = GST_READ_UINT24_BE (data + 17) & 0xFFFFFF; pad->granulerate_n = GST_READ_UINT32_BE (data + 22); pad->granulerate_d = GST_READ_UINT32_BE (data + 26); |