Message ID | GV1P250MB0737FAB8406935A6B493FD028FF7A@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM |
---|---|
State | Accepted |
Commit | 7b2ed4d54ad7adaa79a226474de62ddc0a1a5c06 |
Headers | show |
Series | [FFmpeg-devel,1/5] avcodec/thread: Remove outdated documentation | expand |
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
Andreas Rheinhardt: > Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> > --- > libavcodec/thread.h | 7 +------ > 1 file changed, 1 insertion(+), 6 deletions(-) > > diff --git a/libavcodec/thread.h b/libavcodec/thread.h > index 2c8c0cdb16..180e1137ae 100644 > --- a/libavcodec/thread.h > +++ b/libavcodec/thread.h > @@ -73,12 +73,7 @@ void ff_thread_finish_setup(AVCodecContext *avctx); > int ff_thread_get_buffer(AVCodecContext *avctx, AVFrame *f, int flags); > > /** > - * Wrapper around release_buffer() frame-for multithreaded codecs. > - * Call this function instead of avctx->release_buffer(f). > - * The AVFrame will be copied and the actual release_buffer() call > - * will be performed later. The contents of data pointed to by the > - * AVFrame should not be changed until ff_thread_get_buffer() is called > - * on it. > + * Wrapper around av_frame_unref() for frame-threaded codecs. > * > * @param avctx The current context. > * @param f The picture being released. Will apply this patchset tomorrow unless there are objections. - Andreas
diff --git a/libavcodec/thread.h b/libavcodec/thread.h index 2c8c0cdb16..180e1137ae 100644 --- a/libavcodec/thread.h +++ b/libavcodec/thread.h @@ -73,12 +73,7 @@ void ff_thread_finish_setup(AVCodecContext *avctx); int ff_thread_get_buffer(AVCodecContext *avctx, AVFrame *f, int flags); /** - * Wrapper around release_buffer() frame-for multithreaded codecs. - * Call this function instead of avctx->release_buffer(f). - * The AVFrame will be copied and the actual release_buffer() call - * will be performed later. The contents of data pointed to by the - * AVFrame should not be changed until ff_thread_get_buffer() is called - * on it. + * Wrapper around av_frame_unref() for frame-threaded codecs. * * @param avctx The current context. * @param f The picture being released.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavcodec/thread.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)