summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
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/avcodec.h
parent2a4d34d462d60799e045c370dc9b2505f18365e7 (diff)
lavc: Mark all AVHWAccel structures as const
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 53b5a7c4d4..7eaa0c9277 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -2307,7 +2307,7 @@ typedef struct AVCodecContext {
* - encoding: unused.
* - decoding: Set by libavcodec
*/
- struct AVHWAccel *hwaccel;
+ const struct AVHWAccel *hwaccel;
/**
* Hardware accelerator context.