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:
authorMark Thompson <sw@jkqxz.net>2017-11-04 21:53:26 +0300
committerMark Thompson <sw@jkqxz.net>2017-11-27 00:41:19 +0300
commit3a71bcc213f223428622ac3750fe1a923f2f3ab4 (patch)
tree2e4129174f581c9d5fd3d57e6af8df352a5e182b /libavcodec/decode.c
parentda4e02b1961572c15d7cd6a701d153155f196477 (diff)
lavc: Mark all AVHWAccel structures as const
Diffstat (limited to 'libavcodec/decode.c')
-rw-r--r--libavcodec/decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/decode.c b/libavcodec/decode.c
index f2a23735ac..3f5b086f7e 100644
--- a/libavcodec/decode.c
+++ b/libavcodec/decode.c
@@ -1252,7 +1252,7 @@ static int hwaccel_init(AVCodecContext *avctx,
return AVERROR(ENOMEM);
}
- avctx->hwaccel = (AVHWAccel*)hwaccel;
+ avctx->hwaccel = hwaccel;
if (hwaccel->init) {
err = hwaccel->init(avctx);
if (err < 0) {