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/mpegvideo_xvmc.c | |
parent | da4e02b1961572c15d7cd6a701d153155f196477 (diff) |
lavc: Mark all AVHWAccel structures as const
Diffstat (limited to 'libavcodec/mpegvideo_xvmc.c')
-rw-r--r-- | libavcodec/mpegvideo_xvmc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mpegvideo_xvmc.c b/libavcodec/mpegvideo_xvmc.c index 519a448161..f06583768c 100644 --- a/libavcodec/mpegvideo_xvmc.c +++ b/libavcodec/mpegvideo_xvmc.c @@ -348,7 +348,7 @@ static void ff_xvmc_decode_mb(struct MpegEncContext *s) } #if CONFIG_MPEG1_XVMC_HWACCEL -AVHWAccel ff_mpeg1_xvmc_hwaccel = { +const AVHWAccel ff_mpeg1_xvmc_hwaccel = { .name = "mpeg1_xvmc", .type = AVMEDIA_TYPE_VIDEO, .id = AV_CODEC_ID_MPEG1VIDEO, @@ -362,7 +362,7 @@ AVHWAccel ff_mpeg1_xvmc_hwaccel = { #endif #if CONFIG_MPEG2_XVMC_HWACCEL -AVHWAccel ff_mpeg2_xvmc_hwaccel = { +const AVHWAccel ff_mpeg2_xvmc_hwaccel = { .name = "mpeg2_xvmc", .type = AVMEDIA_TYPE_VIDEO, .id = AV_CODEC_ID_MPEG2VIDEO, |