Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
5c805d69
Commit
5c805d69
authored
Nov 13, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/nellymoserenc: fix sign error
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
4001fc42
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
nellymoserenc.c
libavcodec/nellymoserenc.c
+1
-1
audio.mak
tests/fate/audio.mak
+2
-2
No files found.
libavcodec/nellymoserenc.c
View file @
5c805d69
...
...
@@ -175,7 +175,7 @@ static av_cold int encode_init(AVCodecContext *avctx)
/* Generate overlap window */
ff_init_ff_sine_windows
(
7
);
for
(
i
=
0
;
i
<
POW_TABLE_SIZE
;
i
++
)
pow_table
[
i
]
=
-
pow
(
2
,
-
i
/
2048
.
0
-
3
.
0
+
POW_TABLE_OFFSET
);
pow_table
[
i
]
=
pow
(
2
,
-
i
/
2048
.
0
-
3
.
0
+
POW_TABLE_OFFSET
);
if
(
s
->
avctx
->
trellis
)
{
s
->
opt
=
av_malloc
(
NELLY_BANDS
*
OPT_SIZE
*
sizeof
(
float
));
...
...
tests/fate/audio.mak
View file @
5c805d69
...
...
@@ -44,8 +44,8 @@ fate-nellymoser-aref-encode: $(AREF) ./tests/data/asynth-16000-1.wav
fate-nellymoser-aref-encode: CMD = enc_dec_pcm flv wav s16le $(REF) -c:a nellymoser
fate-nellymoser-aref-encode: CMP = stddev
fate-nellymoser-aref-encode: REF = ./tests/data/asynth-16000-1.wav
fate-nellymoser-aref-encode: CMP_SHIFT = -2
44
fate-nellymoser-aref-encode: CMP_TARGET =
9612
fate-nellymoser-aref-encode: CMP_SHIFT = -2
56
fate-nellymoser-aref-encode: CMP_TARGET =
3863
fate-nellymoser-aref-encode: SIZE_TOLERANCE = 268
FATE_SAMPLES_AUDIO-$(call DEMDEC, AVI, ON2AVC) += fate-on2avc
...
...
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