diff options
author | Tobias Rapp <t.rapp@noa-archive.com> | 2017-09-29 16:32:20 +0200 |
---|---|---|
committer | Tobias Rapp <t.rapp@noa-archive.com> | 2017-10-26 08:29:41 +0200 |
commit | a07ac9302335c1f12dcfb7d4ef57689f25c8e2c4 (patch) | |
tree | 39383827ac5ea455913ce6fcbe18cfd99059d371 /tests/ref/lavf | |
parent | ae100046ca32b0b83031a60d0c3cdfc5ceb9f874 (diff) | |
download | ffmpeg-a07ac9302335c1f12dcfb7d4ef57689f25c8e2c4.tar.gz |
avformat/wavenc: skip writing incorrect peak-of-peaks position value
According to EBU tech 3285 supplement 3 the dwPosPeakOfPeaks field
should contain the absolute position to the maximum audio sample value,
but the current implementation writes the relative peak frame index
instead.
Fix the issue by writing the "unknown" value (-1) for now until the
feature is implemented correctly.
Previous version reviewed-by: Peter Bubestinger <p.bubestinger@av-rd.com>
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
Diffstat (limited to 'tests/ref/lavf')
-rw-r--r-- | tests/ref/lavf/wav_peak | 2 | ||||
-rw-r--r-- | tests/ref/lavf/wav_peak_only | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ref/lavf/wav_peak b/tests/ref/lavf/wav_peak index aa7e5fc49e..861b246d72 100644 --- a/tests/ref/lavf/wav_peak +++ b/tests/ref/lavf/wav_peak @@ -1,3 +1,3 @@ -35148d1f6e66b0080893851d917ecbf4 *./tests/data/lavf/lavf.peak.wav +105805963fb767d00da056f42f32d9f3 *./tests/data/lavf/lavf.peak.wav 89094 ./tests/data/lavf/lavf.peak.wav ./tests/data/lavf/lavf.peak.wav CRC=0x3a1da17e diff --git a/tests/ref/lavf/wav_peak_only b/tests/ref/lavf/wav_peak_only index dccd0e72ff..b203d0345b 100644 --- a/tests/ref/lavf/wav_peak_only +++ b/tests/ref/lavf/wav_peak_only @@ -1,2 +1,2 @@ -b609a363e6d490710ed52231a8d09d3c *./tests/data/lavf/lavf.peak_only.wav +f1a8aeeae8069f3992c4d780436c3d23 *./tests/data/lavf/lavf.peak_only.wav 832 ./tests/data/lavf/lavf.peak_only.wav |