diff options
author | James Almer <jamrial@gmail.com> | 2021-04-15 01:28:27 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-04-16 11:08:40 -0300 |
commit | bc010612318ea0bbd31d4b92cbb90ccfbed09631 (patch) | |
tree | a6fd1f3afc9f6b87f75ebbe2f90afd45e79bb002 /libavformat/hca.c | |
parent | 55d667d86af7d13fc5aa2b4071a5b97eb10e2da6 (diff) | |
download | ffmpeg-bc010612318ea0bbd31d4b92cbb90ccfbed09631.tar.gz |
avformat/movenc: fix writing dOps atoms
Don't blindly copy all bytes in extradata past ChannelMappingFamily. Instead
check if ChannelMappingFamily is not 0 and then only write the correct amount
of bytes from ChannelMappingTable, as defined in the spec[1].
Fixes part of ticket #9190.
[1] https://opus-codec.org/docs/opus_in_isobmff.html#4.3.2
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/hca.c')
0 files changed, 0 insertions, 0 deletions