diff options
author | Mark Thompson <sw@jkqxz.net> | 2017-10-03 21:02:25 +0100 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2017-10-04 23:14:37 +0100 |
commit | 8da5af258423db4e24832b4a880cf6b78d410262 (patch) | |
tree | 94f58b9e16d00bfd71813f0a78575f99a7f835b0 | |
parent | a0d076f3ef95e971014c4333c71b384976484889 (diff) | |
download | ffmpeg-8da5af258423db4e24832b4a880cf6b78d410262.tar.gz |
lavc/v4l2: Mark static const tables as such
-rw-r--r-- | libavcodec/v4l2_m2m_enc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/v4l2_m2m_enc.c b/libavcodec/v4l2_m2m_enc.c index 9f59be6efb..b0d5a3bd15 100644 --- a/libavcodec/v4l2_m2m_enc.c +++ b/libavcodec/v4l2_m2m_enc.c @@ -93,7 +93,7 @@ static inline int v4l2_get_ext_ctrl(V4L2m2mContext *s, unsigned int id, signed i static inline unsigned int v4l2_h264_profile_from_ff(int p) { - struct h264_profile { + static const struct h264_profile { unsigned int ffmpeg_val; unsigned int v4l2_val; } profile[] = { @@ -120,7 +120,7 @@ static inline unsigned int v4l2_h264_profile_from_ff(int p) static inline int v4l2_mpeg4_profile_from_ff(int p) { - struct mpeg4_profile { + static const struct mpeg4_profile { unsigned int ffmpeg_val; unsigned int v4l2_val; } profile[] = { |