lavc: Mark all AVHWAccel structures as const

This commit is contained in:
Mark Thompson
2017-11-04 18:53:26 +00:00
parent 2a4d34d462
commit 2117725dc5
23 changed files with 74 additions and 71 deletions

View File

@@ -2307,7 +2307,7 @@ typedef struct AVCodecContext {
* - encoding: unused.
* - decoding: Set by libavcodec
*/
struct AVHWAccel *hwaccel;
const struct AVHWAccel *hwaccel;
/**
* Hardware accelerator context.