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 / Register
Toggle navigation
Open sidebar
Alicia Boya García
gst-plugins-good
Commits
54c5710a
Commit
54c5710a
authored
Apr 21, 2014
by
Vincent Penquerc'h
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
matroskamux: fix PAR fraction sanity check
It was checking par_num twice, and never par_denum. Coverity 1139634
parent
25fa88f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
gst/matroska/matroska-mux.c
gst/matroska/matroska-mux.c
+1
-1
No files found.
gst/matroska/matroska-mux.c
View file @
54c5710a
...
...
@@ -1416,7 +1416,7 @@ theora_streamheader_to_codecdata (const GValue * streamheader,
hdr
+=
4
+
4
;
par_num
=
GST_READ_UINT32_BE
(
hdr
)
>>
8
;
par_denom
=
GST_READ_UINT32_BE
(
hdr
+
3
)
>>
8
;
if
(
par_num
>
0
&&
par_
nu
m
>
0
)
{
if
(
par_num
>
0
&&
par_
deno
m
>
0
)
{
if
(
par_num
>
par_denom
)
{
videocontext
->
display_width
=
videocontext
->
pixel_width
*
par_num
/
par_denom
;
...
...
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