diff options
author | Mark Thompson <sw@jkqxz.net> | 2017-11-04 18:53:26 +0000 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2017-12-19 23:24:24 +0000 |
commit | 2117725dc56e0d20da641a3311939cf4e2ed9549 (patch) | |
tree | 86ddca3a27083ac02dad069ac2df74819245ce96 /libavcodec/vdpau_h264.c | |
parent | 2a4d34d462d60799e045c370dc9b2505f18365e7 (diff) |
lavc: Mark all AVHWAccel structures as const
Diffstat (limited to 'libavcodec/vdpau_h264.c')
-rw-r--r-- | libavcodec/vdpau_h264.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vdpau_h264.c b/libavcodec/vdpau_h264.c index 8edbc44021..7c4c977b40 100644 --- a/libavcodec/vdpau_h264.c +++ b/libavcodec/vdpau_h264.c @@ -262,7 +262,7 @@ static int vdpau_h264_init(AVCodecContext *avctx) return ff_vdpau_common_init(avctx, profile, level); } -AVHWAccel ff_h264_vdpau_hwaccel = { +const AVHWAccel ff_h264_vdpau_hwaccel = { .name = "h264_vdpau", .type = AVMEDIA_TYPE_VIDEO, .id = AV_CODEC_ID_H264, |