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-12-20 02:24:24 +0300
commit2117725dc56e0d20da641a3311939cf4e2ed9549 (patch)
tree86ddca3a27083ac02dad069ac2df74819245ce96 /libavcodec/decode.c
parent2a4d34d462d60799e045c370dc9b2505f18365e7 (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 bc2208a3fd..12a95d4221 100644
--- a/libavcodec/decode.c
+++ b/libavcodec/decode.c
@@ -812,7 +812,7 @@ static int hwaccel_init(AVCodecContext *avctx,
return AVERROR(ENOMEM);
}
- avctx->hwaccel = (AVHWAccel*)hwaccel;
+ avctx->hwaccel = hwaccel;
err = hwaccel->init(avctx);
if (err < 0) {
av_log(avctx, AV_LOG_ERROR, "Failed setup for format %s: "