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-11-26 21:41:19 +0000
commit3a71bcc213f223428622ac3750fe1a923f2f3ab4 (patch)
tree2e4129174f581c9d5fd3d57e6af8df352a5e182b /libavcodec/avcodec.h
parentda4e02b1961572c15d7cd6a701d153155f196477 (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 1ae0344bb2..0972df0bde 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -2635,7 +2635,7 @@ typedef struct AVCodecContext {
* - encoding: unused.
* - decoding: Set by libavcodec
*/
- struct AVHWAccel *hwaccel;
+ const struct AVHWAccel *hwaccel;
/**
* Hardware accelerator context.