Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
audiowmark
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
audiowmark
Commits
3ad164f4
Commit
3ad164f4
authored
Dec 12, 2019
by
Stefan Westerfeld
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bump mp3 detection frames to 30 to avoid false positives.
Signed-off-by:
Stefan Westerfeld
<
stefan@space.twc.de
>
parent
29d69cea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mp3.cc
src/mp3.cc
+1
-1
No files found.
src/mp3.cc
View file @
3ad164f4
...
...
@@ -77,7 +77,7 @@ mp3_detect (const string& filename)
size_t
buffer_bytes
=
mpg123_outblock
(
mh
);
unsigned
char
buffer
[
buffer_bytes
];
for
(
size_t
i
=
0
;
i
<
1
0
;
i
++
)
for
(
size_t
i
=
0
;
i
<
3
0
;
i
++
)
{
size_t
done
;
err
=
mpg123_read
(
mh
,
buffer
,
buffer_bytes
,
&
done
);
...
...
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