diff options
author | James Almer <jamrial@gmail.com> | 2021-04-15 01:28:27 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-05-02 20:54:59 -0300 |
commit | 40b896a7812f0775cc595cc9f95899cb872480a8 (patch) | |
tree | f71ccbfb1a4a7f4e8738b68530e48d51d7c64df8 /libavcodec/h265_metadata_bsf.c | |
parent | ede71f4f57082b8136f12e335157345caae2de08 (diff) | |
download | ffmpeg-40b896a7812f0775cc595cc9f95899cb872480a8.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 'libavcodec/h265_metadata_bsf.c')
0 files changed, 0 insertions, 0 deletions