mirror of https://github.com/FFmpeg/FFmpeg.git
Freeing it in av_destruct_packet(), as is done currently, would mean that we allow it to be allocated with other means. But that would make av_packet_new_side_data() unsafe. Side data is not expected to be large, so copying it if required shouldn't be a problem.pull/8/head
parent
49dc82eef7
commit
90cfc084e3
1 changed files with 6 additions and 8 deletions
Loading…
Reference in new issue