Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
George Kiagiadakis
gst-plugins-base
Commits
0c482091
Commit
0c482091
authored
Dec 22, 2010
by
David Schleef
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oggstream: Fix parsing of theora size
parent
e443ae60
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ext/ogg/gstoggstream.c
ext/ogg/gstoggstream.c
+2
-2
No files found.
ext/ogg/gstoggstream.c
View file @
0c482091
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment