* commit 'fd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3': Mark some arrays that never change as const.
Showing the changes to libavcodec/dfa.c (1 of 26 files). Show all
Unified · Split
| @@ -330,7 +330,7 @@ static const chunk_decoder decoder[8] = { · 329 unmodified lines | ||
| 330 | 330 | decode_tdlt, decode_dsw1, decode_blck, decode_dds1, |
| 331 | 331 | }; |
| 332 | 332 | |
| 333 | −static const char* chunk_name[8] = { | |
| 333 | +static const char * const chunk_name[8] = { | |
| 334 | 334 | "COPY", "TSW1", "BDLT", "WDLT", "TDLT", "DSW1", "BLCK", "DDS1" |
| 335 | 335 | }; |
| 336 | 336 | |