From: Yang Xiao
This commit fixed a crash when seeking wma frames, asf decoder will try to
demux in function asf_read_pts().
Pointer member side_data of AVPacket that allocated by stack may be wild
pointer.
Prevent releasing wild pointers in AVPacket when some functions try to call
av_packet_u
From: songyutong
In function vtenc_populate_extradata(), there is a manually created
pixel buffer that has not been released. So we should use CVPixelBufferRelease
to release this pixel buffer at the end, otherwise will cause a memory leak.
---
libavcodec/videotoolboxenc.c | 1 +
1 file changed,