lavc/lscrdec: drop unapplicable private capabilities

FF_CODEC_CAP_ALLOCATE_PROGRESS makes no sense because the decoder does
not support frame threading.
FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM makes no sense because the decoder
does not handle skip_frame.
pull/371/head
Anton Khirnov 4 years ago
parent 3a5b857d4c
commit 087359ad85
  1. 3
      libavcodec/lscrdec.c

@ -274,6 +274,5 @@ AVCodec ff_lscr_decoder = {
.decode = decode_frame_lscr,
.flush = lscr_decode_flush,
.capabilities = AV_CODEC_CAP_DR1,
.caps_internal = FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM | FF_CODEC_CAP_INIT_THREADSAFE |
FF_CODEC_CAP_ALLOCATE_PROGRESS,
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};

Loading…
Cancel
Save