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
79ee8977
Commit
79ee8977
authored
Apr 05, 2011
by
Justin Ruggles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ac3enc: correct the flipped sign in the ac3_fixed encoder
parent
e6ff0648
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
4 deletions
+5
-4
ac3enc_fixed.c
libavcodec/ac3enc_fixed.c
+1
-1
ac3_fixed
tests/ref/acodec/ac3_fixed
+1
-1
rm
tests/ref/lavf/rm
+1
-1
ac3_rm
tests/ref/seek/ac3_rm
+2
-1
No files found.
libavcodec/ac3enc_fixed.c
View file @
79ee8977
...
...
@@ -47,7 +47,7 @@ static av_cold void mdct_end(AC3MDCTContext *mdct)
static
av_cold
int
mdct_init
(
AVCodecContext
*
avctx
,
AC3MDCTContext
*
mdct
,
int
nbits
)
{
int
ret
=
ff_mdct_init
(
&
mdct
->
fft
,
nbits
,
0
,
1
.
0
);
int
ret
=
ff_mdct_init
(
&
mdct
->
fft
,
nbits
,
0
,
-
1
.
0
);
mdct
->
window
=
ff_ac3_window
;
return
ret
;
}
...
...
tests/ref/acodec/ac3_fixed
View file @
79ee8977
5ddb6d25dd117db29627f9d286153a7a
*./tests/data/acodec/ac3.rm
0f14801e166819dd4a58981aea36e08b
*./tests/data/acodec/ac3.rm
98751 ./tests/data/acodec/ac3.rm
tests/ref/lavf/rm
View file @
79ee8977
a1c71456f21d5459d2824d75bbdcc80c
*./tests/data/lavf/lavf.rm
2e3d6b1944c6cd2cf14e13055aecf82a
*./tests/data/lavf/lavf.rm
346706 ./tests/data/lavf/lavf.rm
tests/ref/seek/ac3_rm
View file @
79ee8977
...
...
@@ -11,7 +11,8 @@ ret:-1 st:-1 flags:1 ts: 1.470835
ret:-1 st: 0 flags:0 ts: 0.365000
ret: 0 st: 0 flags:1 ts:-0.741000
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 271 size: 556
ret:-1 st:-1 flags:0 ts: 2.153336
ret: 0 st:-1 flags:0 ts: 2.153336
ret: 0 st: 0 flags:1 dts: 2.159000 pts: 2.159000 pos: 35567 size: 556
ret:-1 st:-1 flags:1 ts: 1.047503
ret: 0 st: 0 flags:0 ts:-0.058000
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 271 size: 556
...
...
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