]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/ulti.c
avformat/dashenc: Remove deprecated min_seg_duration option
[ffmpeg] / libavcodec / ulti.c
index 9318af064bda129ef52ee1af613737c1c694e4cc..cf6891d530a9aa7d4f751c83dc89b8df8d3fc190 100644 (file)
@@ -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,
 };