diff options
author | James Almer <jamrial@gmail.com> | 2024-07-16 20:32:40 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2024-07-18 23:27:20 -0300 |
commit | 7dabad079b783e921747de96597ea47cab244a11 (patch) | |
tree | 8a6f6e3a902ab1f9628480bdc99a5eec09fcd489 /tests | |
parent | 54b8d5e201c97464625cfb6cfd851ed80976aa44 (diff) | |
download | ffmpeg-7dabad079b783e921747de96597ea47cab244a11.tar.gz |
avformat/iamf: byteswap values in OpusHeader
Clause 3.11.1 of IAMF[1] states the values are stored in big endian, in
contrast to the Ogg Encapsulation for Opus[2] where they are in little endian.
[1]https://aomediacodec.github.io/iamf/v1.0.0-errata.html#opus-specific
[2]https://datatracker.ietf.org/doc/html/rfc7845#section-5.1
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ref/fate/iamf-5_1-copy | 8 | ||||
-rw-r--r-- | tests/ref/fate/iamf-5_1-demux | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/tests/ref/fate/iamf-5_1-copy b/tests/ref/fate/iamf-5_1-copy index bc4df7c57f..ed2046fe3b 100644 --- a/tests/ref/fate/iamf-5_1-copy +++ b/tests/ref/fate/iamf-5_1-copy @@ -1,7 +1,7 @@ -#extradata 0: 19, 0x379c0490 -#extradata 1: 19, 0x379c0490 -#extradata 2: 19, 0x3792048f -#extradata 3: 19, 0x3792048f +#extradata 0: 19, 0x3a0e0490 +#extradata 1: 19, 0x3a0e0490 +#extradata 2: 19, 0x3a04048f +#extradata 3: 19, 0x3a04048f #tb 0: 1/48000 #media_type 0: audio #codec_id 0: opus diff --git a/tests/ref/fate/iamf-5_1-demux b/tests/ref/fate/iamf-5_1-demux index bc4df7c57f..ed2046fe3b 100644 --- a/tests/ref/fate/iamf-5_1-demux +++ b/tests/ref/fate/iamf-5_1-demux @@ -1,7 +1,7 @@ -#extradata 0: 19, 0x379c0490 -#extradata 1: 19, 0x379c0490 -#extradata 2: 19, 0x3792048f -#extradata 3: 19, 0x3792048f +#extradata 0: 19, 0x3a0e0490 +#extradata 1: 19, 0x3a0e0490 +#extradata 2: 19, 0x3a04048f +#extradata 3: 19, 0x3a04048f #tb 0: 1/48000 #media_type 0: audio #codec_id 0: opus |