You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/vp3: ref_frame/ref_frames are only required when HAVE_THREADS=1
This commit is contained in:
@@ -1961,6 +1961,7 @@ fail:
|
||||
return ret;
|
||||
}
|
||||
|
||||
#if HAVE_THREADS
|
||||
static int ref_frame(Vp3DecodeContext *s, ThreadFrame *dst, ThreadFrame *src)
|
||||
{
|
||||
ff_thread_release_buffer(s->avctx, dst);
|
||||
@@ -1979,7 +1980,6 @@ static int ref_frames(Vp3DecodeContext *dst, Vp3DecodeContext *src)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#if HAVE_THREADS
|
||||
static int vp3_update_thread_context(AVCodecContext *dst, const AVCodecContext *src)
|
||||
{
|
||||
Vp3DecodeContext *s = dst->priv_data, *s1 = src->priv_data;
|
||||
|
Reference in New Issue
Block a user