Browse Source

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.
tags/n4.4
Anton Khirnov 5 years ago
parent
commit
087359ad85
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      libavcodec/lscrdec.c

+ 1
- 2
libavcodec/lscrdec.c View File

@@ -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