[FFmpeg-devel] [PATCH 03/10] avformat/utils: use av_packet_alloc() to allocate packets
James Almer
jamrial at gmail.com
Thu Feb 4 00:25:29 EET 2021
On 2/3/2021 7:23 PM, Michael Niedermayer wrote:
> On Mon, Feb 01, 2021 at 07:44:14PM -0300, James Almer wrote:
>> Signed-off-by: James Almer <jamrial at gmail.com>
>> ---
>> av_get_packet() and av_read_frame() were allowed to be called with
>> uninitialized packets in stack, so to keep supporting that we need to leave the
>> calls to av_init_packet() in place during the deprecation period.
>>
>> libavformat/internal.h | 1 +
>> libavformat/options.c | 13 +++--
>> libavformat/utils.c | 105 +++++++++++++++++++++++------------------
>> 3 files changed, 68 insertions(+), 51 deletions(-)
>
> valgrind dislikes this
Did you apply patch 10/10 first, like i mentioned in another reply?
I mistakenly sent that patch, which introduces an FF_API define, before
the patches that make use of it (This one being the first doing so).
More information about the ffmpeg-devel
mailing list