X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fulti.c;h=cf6891d530a9aa7d4f751c83dc89b8df8d3fc190;hb=985c0dac674846721ec8ff23344c16ac7d1c9a1e;hp=9318af064bda129ef52ee1af613737c1c694e4cc;hpb=92219ef4ac01b00e630b39cb19e8fbd17fdb63d0;p=ffmpeg diff --git a/libavcodec/ulti.c b/libavcodec/ulti.c index 9318af064bd..cf6891d530a 100644 --- a/libavcodec/ulti.c +++ b/libavcodec/ulti.c @@ -230,7 +230,7 @@ static int ulti_decode_frame(AVCodecContext *avctx, int skip; int tmp; - if ((ret = ff_reget_buffer(avctx, s->frame)) < 0) + if ((ret = ff_reget_buffer(avctx, s->frame, 0)) < 0) return ret; bytestream2_init(&s->gb, buf, buf_size); @@ -428,4 +428,5 @@ AVCodec ff_ulti_decoder = { .close = ulti_decode_end, .decode = ulti_decode_frame, .capabilities = AV_CODEC_CAP_DR1, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, };