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/vaapi_mpeg2.c | |
parent | 2a4d34d462d60799e045c370dc9b2505f18365e7 (diff) | |
download | ffmpeg-streaming-2117725dc56e0d20da641a3311939cf4e2ed9549.zip ffmpeg-streaming-2117725dc56e0d20da641a3311939cf4e2ed9549.tar.gz |
lavc: Mark all AVHWAccel structures as const
Diffstat (limited to 'libavcodec/vaapi_mpeg2.c')
-rw-r--r-- | libavcodec/vaapi_mpeg2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vaapi_mpeg2.c b/libavcodec/vaapi_mpeg2.c index 5c0a797..4cca00c 100644 --- a/libavcodec/vaapi_mpeg2.c +++ b/libavcodec/vaapi_mpeg2.c @@ -173,7 +173,7 @@ static int vaapi_mpeg2_decode_slice(AVCodecContext *avctx, const uint8_t *buffer return 0; } -AVHWAccel ff_mpeg2_vaapi_hwaccel = { +const AVHWAccel ff_mpeg2_vaapi_hwaccel = { .name = "mpeg2_vaapi", .type = AVMEDIA_TYPE_VIDEO, .id = AV_CODEC_ID_MPEG2VIDEO, |