Browse Source

avcodec/vp3: ref_frame/ref_frames are only required when HAVE_THREADS=1

tags/n4.2
Peter Ross 7 years ago
parent
commit
d52a1be4e3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/vp3.c

+ 1
- 1
libavcodec/vp3.c View File

@@ -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;


Loading…
Cancel
Save