* commit 'fd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3': Mark some arrays that never change as const.
Showing the changes to libavcodec/vaapi_encode_mjpeg.c (1 of 26 files). Show all
Unified · Split
| @@ -361,7 +361,7 @@ static av_cold int vaapi_encode_mjpeg_configure(AVCodecContext *avctx) · 360 unmodified lines | |||
| 361 | return 0; | 361 | return 0; |
| 362 | } | 362 | } |
| 363 | 363 | ||
| 364 | static VAAPIEncodeType vaapi_encode_type_mjpeg = { | 364 | static const VAAPIEncodeType vaapi_encode_type_mjpeg = { |
| 365 | .priv_data_size = sizeof(VAAPIEncodeMJPEGContext), | 365 | .priv_data_size = sizeof(VAAPIEncodeMJPEGContext), |
| 366 | 366 | ||
| 367 | .configure = &vaapi_encode_mjpeg_configure, | 367 | .configure = &vaapi_encode_mjpeg_configure, |