summaryrefslogtreecommitdiffstats
path: root/libavcodec/vdpau_vc1.c
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2017-11-04 18:53:26 +0000
committerMark Thompson <sw@jkqxz.net>2017-12-19 23:24:24 +0000
commit2117725dc56e0d20da641a3311939cf4e2ed9549 (patch)
tree86ddca3a27083ac02dad069ac2df74819245ce96 /libavcodec/vdpau_vc1.c
parent2a4d34d462d60799e045c370dc9b2505f18365e7 (diff)
downloadffmpeg-streaming-2117725dc56e0d20da641a3311939cf4e2ed9549.zip
ffmpeg-streaming-2117725dc56e0d20da641a3311939cf4e2ed9549.tar.gz
lavc: Mark all AVHWAccel structures as const
Diffstat (limited to 'libavcodec/vdpau_vc1.c')
-rw-r--r--libavcodec/vdpau_vc1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vdpau_vc1.c b/libavcodec/vdpau_vc1.c
index 45b5130..1b55588 100644
--- a/libavcodec/vdpau_vc1.c
+++ b/libavcodec/vdpau_vc1.c
@@ -132,7 +132,7 @@ static int vdpau_vc1_init(AVCodecContext *avctx)
}
#if CONFIG_WMV3_VDPAU_HWACCEL
-AVHWAccel ff_wmv3_vdpau_hwaccel = {
+const AVHWAccel ff_wmv3_vdpau_hwaccel = {
.name = "wm3_vdpau",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_WMV3,
@@ -149,7 +149,7 @@ AVHWAccel ff_wmv3_vdpau_hwaccel = {
};
#endif
-AVHWAccel ff_vc1_vdpau_hwaccel = {
+const AVHWAccel ff_vc1_vdpau_hwaccel = {
.name = "vc1_vdpau",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_VC1,
OpenPOWER on IntegriCloud