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

Michael Niedermayer michael at niedermayer.cc
Thu Aug 4 21:33:47 EEST 2022


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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

There will always be a question for which you do not know the correct answer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20220804/3b83af27/attachment.sig>


More information about the ffmpeg-devel mailing list