diff options
author | Mark Thompson <sw@jkqxz.net> | 2017-11-04 18:53:26 +0000 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2017-11-26 21:41:19 +0000 |
commit | 3a71bcc213f223428622ac3750fe1a923f2f3ab4 (patch) | |
tree | 2e4129174f581c9d5fd3d57e6af8df352a5e182b /libavcodec/vaapi_vc1.c | |
parent | da4e02b1961572c15d7cd6a701d153155f196477 (diff) | |
download | ffmpeg-3a71bcc213f223428622ac3750fe1a923f2f3ab4.tar.gz |
lavc: Mark all AVHWAccel structures as const
Diffstat (limited to 'libavcodec/vaapi_vc1.c')
-rw-r--r-- | libavcodec/vaapi_vc1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vaapi_vc1.c b/libavcodec/vaapi_vc1.c index 49675744cd..525376790e 100644 --- a/libavcodec/vaapi_vc1.c +++ b/libavcodec/vaapi_vc1.c @@ -388,7 +388,7 @@ static int vaapi_vc1_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, } #if CONFIG_WMV3_VAAPI_HWACCEL -AVHWAccel ff_wmv3_vaapi_hwaccel = { +const AVHWAccel ff_wmv3_vaapi_hwaccel = { .name = "wmv3_vaapi", .type = AVMEDIA_TYPE_VIDEO, .id = AV_CODEC_ID_WMV3, @@ -405,7 +405,7 @@ AVHWAccel ff_wmv3_vaapi_hwaccel = { }; #endif -AVHWAccel ff_vc1_vaapi_hwaccel = { +const AVHWAccel ff_vc1_vaapi_hwaccel = { .name = "vc1_vaapi", .type = AVMEDIA_TYPE_VIDEO, .id = AV_CODEC_ID_VC1, |