mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-03 05:22:10 +00:00
ac3enc: correct the flipped sign in the ac3_fixed encoder
This commit is contained in:
parent
e6ff064845
commit
79ee8977c2
@ -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;
|
||||
}
|
||||
|
@ -1,2 +1,2 @@
|
||||
5ddb6d25dd117db29627f9d286153a7a *./tests/data/acodec/ac3.rm
|
||||
0f14801e166819dd4a58981aea36e08b *./tests/data/acodec/ac3.rm
|
||||
98751 ./tests/data/acodec/ac3.rm
|
||||
|
@ -1,2 +1,2 @@
|
||||
a1c71456f21d5459d2824d75bbdcc80c *./tests/data/lavf/lavf.rm
|
||||
2e3d6b1944c6cd2cf14e13055aecf82a *./tests/data/lavf/lavf.rm
|
||||
346706 ./tests/data/lavf/lavf.rm
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user