summaryrefslogtreecommitdiffstats
path: root/libavcodec/vdpau_mpeg4.c
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2017-11-04 18:53:26 +0000
committerMark Thompson <sw@jkqxz.net>2017-12-19 23:24:24 +0000
commit2117725dc56e0d20da641a3311939cf4e2ed9549 (patch)
tree86ddca3a27083ac02dad069ac2df74819245ce96 /libavcodec/vdpau_mpeg4.c
parent2a4d34d462d60799e045c370dc9b2505f18365e7 (diff)
downloadffmpeg-streaming-2117725dc56e0d20da641a3311939cf4e2ed9549.zip
ffmpeg-streaming-2117725dc56e0d20da641a3311939cf4e2ed9549.tar.gz
lavc: Mark all AVHWAccel structures as const
Diffstat (limited to 'libavcodec/vdpau_mpeg4.c')
-rw-r--r--libavcodec/vdpau_mpeg4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vdpau_mpeg4.c b/libavcodec/vdpau_mpeg4.c
index 519866c..87db6a7 100644
--- a/libavcodec/vdpau_mpeg4.c
+++ b/libavcodec/vdpau_mpeg4.c
@@ -107,7 +107,7 @@ static int vdpau_mpeg4_init(AVCodecContext *avctx)
return ff_vdpau_common_init(avctx, profile, avctx->level);
}
-AVHWAccel ff_mpeg4_vdpau_hwaccel = {
+const AVHWAccel ff_mpeg4_vdpau_hwaccel = {
.name = "mpeg4_vdpau",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_MPEG4,
OpenPOWER on IntegriCloud