projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e443ae6
)
oggstream: Fix parsing of theora size
author
David Schleef
<ds@schleef.org>
Wed, 22 Dec 2010 23:29:56 +0000
(15:29 -0800)
committer
David Schleef
<ds@schleef.org>
Wed, 22 Dec 2010 23:30:36 +0000
(15:30 -0800)
ext/ogg/gstoggstream.c
patch
|
blob
|
history
diff --git
a/ext/ogg/gstoggstream.c
b/ext/ogg/gstoggstream.c
index
f8ba6c0
..
783364a
100644
(file)
--- 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) & 0xFFFFF
0
;
- h = GST_READ_UINT24_BE (data + 17) & 0xFFFFF
0
;
+ w = GST_READ_UINT24_BE (data + 14) & 0xFFFFF
F
;
+ h = GST_READ_UINT24_BE (data + 17) & 0xFFFFF
F
;
pad->granulerate_n = GST_READ_UINT32_BE (data + 22);
pad->granulerate_d = GST_READ_UINT32_BE (data + 26);