Skip to content
Snippets Groups Projects
Commit a07ac930 authored by Tobias Rapp's avatar Tobias Rapp
Browse files

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: default avatarPeter Bubestinger <p.bubestinger@av-rd.com>
Reviewed-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
Signed-off-by: default avatarTobias Rapp <t.rapp@noa-archive.com>
parent ae100046
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment