diff options
Diffstat (limited to 'libavcodec/vda_h264.c')
-rw-r--r-- | libavcodec/vda_h264.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vda_h264.c b/libavcodec/vda_h264.c index 037715da81..4dfe532f8a 100644 --- a/libavcodec/vda_h264.c +++ b/libavcodec/vda_h264.c @@ -247,7 +247,7 @@ static int vda_h264_uninit(AVCodecContext *avctx) return 0; } -AVHWAccel ff_h264_vda_old_hwaccel = { +const AVHWAccel ff_h264_vda_old_hwaccel = { .name = "h264_vda", .type = AVMEDIA_TYPE_VIDEO, .id = AV_CODEC_ID_H264, @@ -483,7 +483,7 @@ static int vda_h264_alloc_frame(AVCodecContext *avctx, AVFrame *frame) return 0; } -AVHWAccel ff_h264_vda_hwaccel = { +const AVHWAccel ff_h264_vda_hwaccel = { .name = "h264_vda", .type = AVMEDIA_TYPE_VIDEO, .id = AV_CODEC_ID_H264, |