diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-07-22 06:27:05 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-07-30 22:09:59 +0200 |
commit | a2d7da01e8f9a2ab5815c0a9718dc952f751667d (patch) | |
tree | 49165cd268c499163567da540b40a38f7c81fde8 /libavcodec/threadframe.h | |
parent | 92e702863ce7df7f7670086cd2edd87e0a1c1487 (diff) |
avcodec/threadframe: Constify the frame in ff_thread_await_progress
It is safe to call it on a const ThreadFrame*.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/threadframe.h')
-rw-r--r-- | libavcodec/threadframe.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/threadframe.h b/libavcodec/threadframe.h index dea4dadc6d..100e068e06 100644 --- a/libavcodec/threadframe.h +++ b/libavcodec/threadframe.h @@ -56,7 +56,7 @@ void ff_thread_report_progress(ThreadFrame *f, int progress, int field); * @param field The field being referenced, for field-picture codecs. * 0 for top field or frame pictures, 1 for bottom field. */ -void ff_thread_await_progress(ThreadFrame *f, int progress, int field); +void ff_thread_await_progress(const ThreadFrame *f, int progress, int field); /** * Wrapper around ff_get_buffer() for frame-multithreaded codecs. |