X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fpthread_frame.c;h=5104b1beba4b23fc89a94ed6e0a8f165049271b5;hb=f2abd36b3863188894fd21964c662b6c17268bfb;hp=25aa3e2cd22c9c8fb0375b255d503462f2bb61fb;hpb=b855b570c811d208bfadeb4e140bee90c1598e72;p=ffmpeg diff --git a/libavcodec/pthread_frame.c b/libavcodec/pthread_frame.c index 25aa3e2cd22..5104b1beba4 100644 --- a/libavcodec/pthread_frame.c +++ b/libavcodec/pthread_frame.c @@ -886,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);