* commit 'fd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3': Mark some arrays that never change as const.
Showing the changes to libavcodec/vaapi_encode.c (1 of 26 files). Show all
Unified · Split
| @@ -27,7 +27,7 @@ · 26 unmodified lines | ||
| 27 | 27 | #include "vaapi_encode.h" |
| 28 | 28 | #include "avcodec.h" |
| 29 | 29 | |
| 30 | −static const char *picture_type_name[] = { "IDR", "I", "P", "B" }; | |
| 30 | +static const char * const picture_type_name[] = { "IDR", "I", "P", "B" }; | |
| 31 | 31 | |
| 32 | 32 | static int vaapi_encode_make_packed_header(AVCodecContext *avctx, |
| 33 | 33 | VAAPIEncodePicture *pic, |