diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-12-03 00:33:27 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-05-02 05:14:42 +0200 |
commit | 0166bb12e75c2627c849a02b27eabaf57d251347 (patch) | |
tree | e56b54a14a8b99d1499a279599a7bf88dd41db40 /libavcodec/ivi.h | |
parent | e44e41edceea732f5c24b2d34d4a0d2bee9f1cb9 (diff) | |
download | ffmpeg-0166bb12e75c2627c849a02b27eabaf57d251347.tar.gz |
avcodec/mlpenc: Add const where appropriate
The MLP/TrueHD encoder uses pointers to non-const to access several
static objects that are only initialized at runtime and are therefore
not declared as const. This does not result in compiler warnings, but it
is fragile, as these objects are really not to be modified as they are
not owned by any encoder instance. Therefore this commit adds const to
the pointed to type of the pointers used to access them after their
initialization. One object has even been made const.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/ivi.h')
0 files changed, 0 insertions, 0 deletions