diff options
author | James Almer <jamrial@gmail.com> | 2020-09-10 16:38:01 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2020-09-11 16:36:57 +0300 |
commit | 6a5b38ef449558c174c269d1e3a37b829771c4b7 (patch) | |
tree | b6337488e8e5ef87de14b989ea54eb58bc0eeba2 /libavcodec/thread.h | |
parent | 0963be71ec262138563eb69ff6812af735db194f (diff) |
avcodec/utils: make the src paramater for ff_thread_ref_frame const
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/thread.h')
-rw-r--r-- | libavcodec/thread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/thread.h b/libavcodec/thread.h index 540135fbc9..87bf154da9 100644 --- a/libavcodec/thread.h +++ b/libavcodec/thread.h @@ -129,7 +129,7 @@ int ff_thread_get_buffer(AVCodecContext *avctx, ThreadFrame *f, int flags); */ void ff_thread_release_buffer(AVCodecContext *avctx, ThreadFrame *f); -int ff_thread_ref_frame(ThreadFrame *dst, ThreadFrame *src); +int ff_thread_ref_frame(ThreadFrame *dst, const ThreadFrame *src); int ff_thread_init(AVCodecContext *s); int ff_slice_thread_execute_with_mainfunc(AVCodecContext *avctx, |