]> git.sesse.net Git - ffmpeg/commit
avformat/movenc: remove call to av_copy_packet_side_data() when concatenating eac3...
authorJames Almer <jamrial@gmail.com>
Tue, 14 Apr 2020 20:31:26 +0000 (17:31 -0300)
committerJames Almer <jamrial@gmail.com>
Wed, 15 Apr 2020 17:12:38 +0000 (14:12 -0300)
commite7eb379d98f6b8be9b19afd71fc5b3473eca4a47
treee38b231f9de94fd2c6b5de203a45610e9a425152
parent18f5256c0dc6cfb41e649ab80b0577ba33852d76
avformat/movenc: remove call to av_copy_packet_side_data() when concatenating eac3 syncframes

This generates a potential memory leak, and mixes side data from the last
packet with other properties from the first.

Keep all the properties from the first packet only in the output packet
instead.

Signed-off-by: James Almer <jamrial@gmail.com>
libavformat/movenc.c