aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rkmppdec.c
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2017-12-14 19:47:18 +0100
committerwm4 <nfxjfg@googlemail.com>2017-12-21 18:50:49 +0100
commit1083859cb8c9d9b3bcee970dd33b71015a0a11bc (patch)
tree9420090ef25161346464bd1a64a1f5aefd11eeb8 /libavcodec/rkmppdec.c
parent55eebf2a11d28146658565948d6649311f20c0e1 (diff)
downloadffmpeg-1083859cb8c9d9b3bcee970dd33b71015a0a11bc.tar.gz
rkmppdec: move AV_CODEC_CAP_AVOID_PROBING to the correct field
AVCodec.caps_internal doesn't hold this field. (Untested.)
Diffstat (limited to 'libavcodec/rkmppdec.c')
-rw-r--r--libavcodec/rkmppdec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/rkmppdec.c b/libavcodec/rkmppdec.c
index fa522ce2ed..c57a6ded38 100644
--- a/libavcodec/rkmppdec.c
+++ b/libavcodec/rkmppdec.c
@@ -588,8 +588,7 @@ static const AVCodecHWConfigInternal *rkmpp_hw_configs[] = {
.receive_frame = rkmpp_receive_frame, \
.flush = rkmpp_flush, \
.priv_class = &rkmpp_##NAME##_dec_class, \
- .capabilities = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_HARDWARE, \
- .caps_internal = AV_CODEC_CAP_AVOID_PROBING, \
+ .capabilities = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_AVOID_PROBING | AV_CODEC_CAP_HARDWARE, \
.pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_DRM_PRIME, \
AV_PIX_FMT_NONE}, \
.hw_configs = rkmpp_hw_configs, \