summaryrefslogtreecommitdiff
path: root/libavutil/hwcontext_vaapi.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-09-26 15:58:40 -0300
committerJames Almer <jamrial@gmail.com>2017-09-26 16:02:40 -0300
commit318778de9ebec276cb9dfc65509231ca56590d13 (patch)
tree795c3dc73c18c00f7ce2b09f91184e09d529d332 /libavutil/hwcontext_vaapi.c
parent2508e606fba86f2e460eebb045e29e1f069a4d72 (diff)
parentfd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3 (diff)
downloadffmpeg-318778de9ebec276cb9dfc65509231ca56590d13.tar.gz
Merge commit 'fd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3'
* commit 'fd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3': Mark some arrays that never change as const. Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavutil/hwcontext_vaapi.c')
-rw-r--r--libavutil/hwcontext_vaapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/hwcontext_vaapi.c b/libavutil/hwcontext_vaapi.c
index c4473a229f..9214dc6e50 100644
--- a/libavutil/hwcontext_vaapi.c
+++ b/libavutil/hwcontext_vaapi.c
@@ -93,7 +93,7 @@ typedef struct VAAPIMapping {
}
// The map fourcc <-> pix_fmt isn't bijective because of the annoying U/V
// plane swap cases. The frame handling below tries to hide these.
-static struct {
+static const struct {
unsigned int fourcc;
unsigned int rt_format;
enum AVPixelFormat pix_fmt;