Skip to content
Snippets Groups Projects
Commit 8da5af25 authored by Mark Thompson's avatar Mark Thompson
Browse files

lavc/v4l2: Mark static const tables as such

parent a0d076f3
No related branches found
No related tags found
No related merge requests found
...@@ -93,7 +93,7 @@ static inline int v4l2_get_ext_ctrl(V4L2m2mContext *s, unsigned int id, signed i ...@@ -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) 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 ffmpeg_val;
unsigned int v4l2_val; unsigned int v4l2_val;
} profile[] = { } profile[] = {
...@@ -120,7 +120,7 @@ static inline unsigned int v4l2_h264_profile_from_ff(int p) ...@@ -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) static inline int v4l2_mpeg4_profile_from_ff(int p)
{ {
struct mpeg4_profile { static const struct mpeg4_profile {
unsigned int ffmpeg_val; unsigned int ffmpeg_val;
unsigned int v4l2_val; unsigned int v4l2_val;
} profile[] = { } profile[] = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment