mirror of https://github.com/FFmpeg/FFmpeg.git
The issue is that, when the main packet data buffer is changed, streamcopy uses a temporary new packet to store that buffer, frees the old packet, and replace it with the new packet. However, in doing so, it forgets about the side data, which gets freed, but is still needed and referenced. Then, when the packet gets freed again in the normal code path, it attempts to free its side data which has already been freed. Therefore, simply avoid the first free on side data by removing that side data from the packet. Fixes ticket #3773. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>pull/74/merge
parent
6c1ee1a114
commit
33fefdb449
1 changed files with 2 additions and 0 deletions
Loading…
Reference in new issue