[FFmpeg-devel] [PATCH 07/17] lavc: Mark all AVHWAccel structures as const
Carl Eugen Hoyos
ceffmpeg at gmail.com
Fri Nov 24 13:29:20 EET 2017
2017-11-24 1:51 GMT+01:00 Mark Thompson <sw at jkqxz.net>:
> 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;
Please bump minor (and perhaps add a note for api), iirc
this has an impact for some toolchains, no?
Carl Eugen
More information about the ffmpeg-devel
mailing list