X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fvble.c;h=2cddd550b1887232a334ab1c0762d899a6bc109c;hb=91a98cc4ead6d871053011dafb72458a4e75fa8b;hp=c25ee986972019867acbe0a4b3a497213f56b94a;hpb=0ff76ca86e0ea4dcf2b392c45f5fac8e5576bb0d;p=ffmpeg diff --git a/libavcodec/vble.c b/libavcodec/vble.c index c25ee986972..2cddd550b18 100644 --- a/libavcodec/vble.c +++ b/libavcodec/vble.c @@ -197,7 +197,6 @@ static av_cold int vble_decode_init(AVCodecContext *avctx) if (!ctx->val) { av_log(avctx, AV_LOG_ERROR, "Could not allocate values buffer.\n"); - vble_decode_close(avctx); return AVERROR(ENOMEM); } @@ -214,6 +213,5 @@ AVCodec ff_vble_decoder = { .close = vble_decode_close, .decode = vble_decode_frame, .capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS, - .init_thread_copy = ONLY_IF_THREADS_ENABLED(vble_decode_init), .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, };