aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/qpeg.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2021-04-15 01:28:27 -0300
committerJames Almer <jamrial@gmail.com>2021-04-16 11:08:40 -0300
commitbc010612318ea0bbd31d4b92cbb90ccfbed09631 (patch)
treea6fd1f3afc9f6b87f75ebbe2f90afd45e79bb002 /libavcodec/qpeg.c
parent55d667d86af7d13fc5aa2b4071a5b97eb10e2da6 (diff)
downloadffmpeg-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 'libavcodec/qpeg.c')
0 files changed, 0 insertions, 0 deletions