Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2017-01-09 20:01:02 +0300
committerAnton Khirnov <anton@khirnov.net>2020-04-10 15:16:39 +0300
commit665e5b0fba41a8bae2269d9ce8929a24002e5907 (patch)
tree397136c747d006cdb54f4ff126cdca94f0297f77 /libavcodec/vp8.c
parent7385ffbd31a47a5dd5e66b9d3ba48a4474bbd180 (diff)
lavc: replace AVCodecInternal.allocate_progress with an internal cap
This is a constant codec property, so a capability flag is more appropriate.
Diffstat (limited to 'libavcodec/vp8.c')
-rw-r--r--libavcodec/vp8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c
index b4deb3ed67..81da0422be 100644
--- a/libavcodec/vp8.c
+++ b/libavcodec/vp8.c
@@ -2853,7 +2853,6 @@ int vp78_decode_init(AVCodecContext *avctx, int is_vp7)
s->vp7 = avctx->codec->id == AV_CODEC_ID_VP7;
s->pix_fmt = AV_PIX_FMT_NONE;
avctx->pix_fmt = AV_PIX_FMT_YUV420P;
- avctx->internal->allocate_progress = 1;
ff_videodsp_init(&s->vdsp, 8);
@@ -2988,5 +2987,6 @@ AVCodec ff_vp8_decoder = {
#endif
NULL
},
+ .caps_internal = FF_CODEC_CAP_ALLOCATE_PROGRESS,
};
#endif /* CONFIG_VP7_DECODER */