Re: [FFmpeg-devel] [PATCH] avcodec/avpacket: deprecate av_copy_packet_side_data()

2017-10-01 Thread James Almer
On 9/25/2017 5:20 PM, James Almer wrote: > It leaks memory and destroys the dst packet in case of failure, and it > ultimately duplicates functionality already existing in the saner > av_packet_copy_props(). > > Signed-off-by: James Almer > --- > libavcodec/avcodec.h | 3 +++ > 1 file changed, 3

[FFmpeg-devel] [PATCH] avcodec/avpacket: deprecate av_copy_packet_side_data()

2017-09-25 Thread James Almer
It leaks memory and destroys the dst packet in case of failure, and it ultimately duplicates functionality already existing in the saner av_packet_copy_props(). Signed-off-by: James Almer --- libavcodec/avcodec.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/avcodec.h b/libav