-----Original Message----- From: ffmpeg-devel [mailto:[email protected]] On Behalf Of James Almer Sent: Friday, May 31, 2019 10:38 AM To: [email protected] Subject: Re: [FFmpeg-devel] [PATCH v13 1/2] lavc/svt_hevc: add libsvt hevc encoder wrapper
>No, with the encode2 API you should be using ff_alloc_packet2() instead. >As i said, the API user may provide it's own buffer in the avpacket passed to >avcodec_encode_video2(), which av_new_packet() would ignore and >unconditionally allocate a new one. Thanks for the guidance! I am modifying it and will submit the modification soon. Regards, Sun, Jing _______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
