diff options
author | Mark Thompson <sw@jkqxz.net> | 2017-11-04 21:53:26 +0300 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2017-11-27 00:41:19 +0300 |
commit | 3a71bcc213f223428622ac3750fe1a923f2f3ab4 (patch) | |
tree | 2e4129174f581c9d5fd3d57e6af8df352a5e182b /libavcodec/vdpau_h264.c | |
parent | da4e02b1961572c15d7cd6a701d153155f196477 (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 70f83d76f5..2a260f76ab 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, |