Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
7c239efe
Commit
7c239efe
authored
Sep 09, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/extras/libc.c: forgot a small modification.
parent
ca948c09
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/extras/libc.c
src/extras/libc.c
+4
-2
No files found.
src/extras/libc.c
View file @
7c239efe
...
@@ -434,8 +434,8 @@ vlc_bool_t vlc_reduce( int *pi_dst_nom, int *pi_dst_den,
...
@@ -434,8 +434,8 @@ vlc_bool_t vlc_reduce( int *pi_dst_nom, int *pi_dst_den,
if
(
i_den
==
0
)
if
(
i_den
==
0
)
{
{
i
_nom
=
0
;
*
pi_dst
_nom
=
0
;
i
_den
=
1
;
*
pi_dst
_den
=
1
;
return
1
;
return
1
;
}
}
...
@@ -455,6 +455,8 @@ vlc_bool_t vlc_reduce( int *pi_dst_nom, int *pi_dst_den,
...
@@ -455,6 +455,8 @@ vlc_bool_t vlc_reduce( int *pi_dst_nom, int *pi_dst_den,
i_nom
/=
i_gcd
;
i_nom
/=
i_gcd
;
i_den
/=
i_gcd
;
i_den
/=
i_gcd
;
if
(
i_max
==
0
)
i_max
=
I64C
(
0xFFFFFFFF
);
if
(
i_nom
>
i_max
||
i_den
>
i_max
)
if
(
i_nom
>
i_max
||
i_den
>
i_max
)
{
{
int
i_a0_num
=
0
,
i_a0_den
=
1
,
i_a1_num
=
1
,
i_a1_den
=
0
;
int
i_a0_num
=
0
,
i_a0_den
=
1
,
i_a1_num
=
1
,
i_a1_den
=
0
;
...
...
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