summaryrefslogtreecommitdiff
path: root/libavcodec/h264dec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-12-27 17:36:59 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-01-01 15:25:48 +0100
commit2c6f532e0a29527347418d2d8c4ccfe57a6ace0e (patch)
treeed807102e82b1db61780ce0e1480dcf799d4e4b2 /libavcodec/h264dec.c
parent15baa0c1acd21be99408e6782ae28d868b847b13 (diff)
Mark some pointers as const
Reviewed-by: Lynne <dev@lynne.ee> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/h264dec.c')
-rw-r--r--libavcodec/h264dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c
index 46495d586f..8856be0f59 100644
--- a/libavcodec/h264dec.c
+++ b/libavcodec/h264dec.c
@@ -1054,7 +1054,7 @@ AVCodec ff_h264_decoder = {
.capabilities = /*AV_CODEC_CAP_DRAW_HORIZ_BAND |*/ AV_CODEC_CAP_DR1 |
AV_CODEC_CAP_DELAY | AV_CODEC_CAP_SLICE_THREADS |
AV_CODEC_CAP_FRAME_THREADS,
- .hw_configs = (const AVCodecHWConfigInternal*[]) {
+ .hw_configs = (const AVCodecHWConfigInternal *const []) {
#if CONFIG_H264_DXVA2_HWACCEL
HWACCEL_DXVA2(h264),
#endif