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_mpeg12.c | |
parent | 2a4d34d462d60799e045c370dc9b2505f18365e7 (diff) | |
download | ffmpeg-2117725dc56e0d20da641a3311939cf4e2ed9549.tar.gz |
lavc: Mark all AVHWAccel structures as const
Diffstat (limited to 'libavcodec/vdpau_mpeg12.c')
-rw-r--r-- | libavcodec/vdpau_mpeg12.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vdpau_mpeg12.c b/libavcodec/vdpau_mpeg12.c index db1ba34e03..bc9ff5da8c 100644 --- a/libavcodec/vdpau_mpeg12.c +++ b/libavcodec/vdpau_mpeg12.c @@ -103,7 +103,7 @@ static int vdpau_mpeg1_init(AVCodecContext *avctx) VDP_DECODER_LEVEL_MPEG1_NA); } -AVHWAccel ff_mpeg1_vdpau_hwaccel = { +const AVHWAccel ff_mpeg1_vdpau_hwaccel = { .name = "mpeg1_vdpau", .type = AVMEDIA_TYPE_VIDEO, .id = AV_CODEC_ID_MPEG1VIDEO, @@ -138,7 +138,7 @@ static int vdpau_mpeg2_init(AVCodecContext *avctx) return ff_vdpau_common_init(avctx, profile, VDP_DECODER_LEVEL_MPEG2_HL); } -AVHWAccel ff_mpeg2_vdpau_hwaccel = { +const AVHWAccel ff_mpeg2_vdpau_hwaccel = { .name = "mpeg2_vdpau", .type = AVMEDIA_TYPE_VIDEO, .id = AV_CODEC_ID_MPEG2VIDEO, |