mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
avcodec/utils: make the src paramater for ff_thread_ref_frame const
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
0963be71ec
commit
6a5b38ef44
@ -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,
|
||||
|
@ -1852,7 +1852,7 @@ unsigned int avpriv_toupper4(unsigned int x)
|
||||
((unsigned)av_toupper((x >> 24) & 0xFF) << 24);
|
||||
}
|
||||
|
||||
int ff_thread_ref_frame(ThreadFrame *dst, ThreadFrame *src)
|
||||
int ff_thread_ref_frame(ThreadFrame *dst, const ThreadFrame *src)
|
||||
{
|
||||
int ret;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user