Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
26474d10
Commit
26474d10
authored
Oct 11, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
random_seed: fix digest size
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
7fe55485
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
random_seed.c
libavutil/random_seed.c
+1
-1
No files found.
libavutil/random_seed.c
View file @
26474d10
...
@@ -61,7 +61,7 @@ static uint32_t get_generic_seed(void)
...
@@ -61,7 +61,7 @@ static uint32_t get_generic_seed(void)
clock_t
last_t
=
0
;
clock_t
last_t
=
0
;
static
uint64_t
i
=
0
;
static
uint64_t
i
=
0
;
static
uint32_t
buffer
[
512
]
=
{
0
};
static
uint32_t
buffer
[
512
]
=
{
0
};
unsigned
char
digest
[
32
];
unsigned
char
digest
[
20
];
uint64_t
last_i
=
i
;
uint64_t
last_i
=
i
;
av_assert0
(
sizeof
(
tmp
)
>=
av_sha_size
);
av_assert0
(
sizeof
(
tmp
)
>=
av_sha_size
);
...
...
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