aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/psd.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2021-04-15 01:28:27 -0300
committerJames Almer <jamrial@gmail.com>2021-05-02 20:54:59 -0300
commit40b896a7812f0775cc595cc9f95899cb872480a8 (patch)
treef71ccbfb1a4a7f4e8738b68530e48d51d7c64df8 /libavcodec/psd.c
parentede71f4f57082b8136f12e335157345caae2de08 (diff)
downloadffmpeg-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/psd.c')
0 files changed, 0 insertions, 0 deletions