Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
1fa8884a
Commit
1fa8884a
authored
Feb 16, 2017
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/opusenc: Add () protecting macro arguments
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
8365c1a1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
opusenc.c
libavcodec/opusenc.c
+2
-2
No files found.
libavcodec/opusenc.c
View file @
1fa8884a
...
...
@@ -40,9 +40,9 @@
/* 120 ms / 2.5 ms = 48 frames (extremely improbable, but the encoder'll work) */
#define OPUS_MAX_FRAMES_PER_PACKET 48
#define OPUS_BLOCK_SIZE(x) (2 * 15 * (1 << (
x
+ 2)))
#define OPUS_BLOCK_SIZE(x) (2 * 15 * (1 << (
(x)
+ 2)))
#define OPUS_SAMPLES_TO_BLOCK_SIZE(x) (ff_log2(
x
/ (2 * 15)) - 2)
#define OPUS_SAMPLES_TO_BLOCK_SIZE(x) (ff_log2(
(x)
/ (2 * 15)) - 2)
typedef
struct
OpusEncOptions
{
float
max_delay_ms
;
...
...
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