[FFmpeg-devel] [PATCH 2/3 v2] avcodec/utils: add ff_thread_replace_frame()

James Almer jamrial at gmail.com
Thu Aug 4 21:39:42 EEST 2022


On 8/4/2022 3:33 PM, Michael Niedermayer wrote:
> On Wed, Aug 03, 2022 at 01:02:47PM -0300, James Almer wrote:
>> Signed-off-by: James Almer <jamrial at gmail.com>
>> ---
>>   libavcodec/pthread_frame.c | 30 ++++++++++++++++++++++++++++++
>>   libavcodec/threadframe.h   |  3 +++
>>   libavcodec/utils.c         | 21 +++++++++++++++++++++
>>   3 files changed, 54 insertions(+)
> [...]
>> diff --git a/libavcodec/utils.c b/libavcodec/utils.c
>> index e73e3a7d08..44ed19458c 100644
>> --- a/libavcodec/utils.c
>> +++ b/libavcodec/utils.c
>> @@ -928,6 +928,27 @@ int ff_thread_get_ext_buffer(AVCodecContext *avctx, ThreadFrame *f, int flags)
>>       return ff_get_buffer(avctx, f->f, flags);
>>   }
>>   
>> +int ff_thread_replace_frame(AVCodecContext *avctx, , ThreadFrame *dst,
>                                                      ^^^
> typo
> 
> thx

Fixed locally.


More information about the ffmpeg-devel mailing list