You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-06 08:29:25 +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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user