diff options
author | trav90 <travawine@protonmail.ch> | 2018-10-01 10:27:24 -0500 |
---|---|---|
committer | trav90 <travawine@protonmail.ch> | 2018-10-01 10:27:24 -0500 |
commit | ebc8d7e3ca8723d815904e6fee6c088c659d6784 (patch) | |
tree | 9e3115f44e9a09b9c71d40d72c7d5c939b2278e2 /media/ffvpx/libavcodec/pthread_frame.c | |
parent | 8e8fcee4a55de171303ebe526d3cf051522111bf (diff) | |
download | UXP-ebc8d7e3ca8723d815904e6fee6c088c659d6784.tar UXP-ebc8d7e3ca8723d815904e6fee6c088c659d6784.tar.gz UXP-ebc8d7e3ca8723d815904e6fee6c088c659d6784.tar.lz UXP-ebc8d7e3ca8723d815904e6fee6c088c659d6784.tar.xz UXP-ebc8d7e3ca8723d815904e6fee6c088c659d6784.zip |
[ffvpx] Update ffvp9/ffvp8 to release 4.0.2
Diffstat (limited to 'media/ffvpx/libavcodec/pthread_frame.c')
-rw-r--r-- | media/ffvpx/libavcodec/pthread_frame.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/media/ffvpx/libavcodec/pthread_frame.c b/media/ffvpx/libavcodec/pthread_frame.c index 2c702c737..5104b1beb 100644 --- a/media/ffvpx/libavcodec/pthread_frame.c +++ b/media/ffvpx/libavcodec/pthread_frame.c @@ -246,7 +246,7 @@ static int update_context_from_thread(AVCodecContext *dst, AVCodecContext *src, { int err = 0; - if (dst != src && (for_user || !(av_codec_get_codec_descriptor(src)->props & AV_CODEC_PROP_INTRA_ONLY))) { + if (dst != src && (for_user || !(src->codec_descriptor->props & AV_CODEC_PROP_INTRA_ONLY))) { dst->time_base = src->time_base; dst->framerate = src->framerate; dst->width = src->width; @@ -262,11 +262,6 @@ static int update_context_from_thread(AVCodecContext *dst, AVCodecContext *src, dst->bits_per_coded_sample = src->bits_per_coded_sample; dst->sample_aspect_ratio = src->sample_aspect_ratio; -#if FF_API_AFD -FF_DISABLE_DEPRECATION_WARNINGS - dst->dtg_active_format = src->dtg_active_format; -FF_ENABLE_DEPRECATION_WARNINGS -#endif /* FF_API_AFD */ dst->profile = src->profile; dst->level = src->level; @@ -733,10 +728,6 @@ int ff_frame_thread_init(AVCodecContext *avctx) FrameThreadContext *fctx; int i, err = 0; -#if HAVE_W32THREADS - w32thread_init(); -#endif - if (!thread_count) { int nb_cpus = av_cpu_count(); #if FF_API_DEBUG_MV @@ -895,8 +886,6 @@ static int thread_get_buffer_internal(AVCodecContext *avctx, ThreadFrame *f, int f->owner[0] = f->owner[1] = avctx; - ff_init_buffer_info(avctx, f->f); - if (!(avctx->active_thread_type & FF_THREAD_FRAME)) return ff_get_buffer(avctx, f->f, flags); |