History

lavc: Mark hw_config pointer arrays as const

They are read-only just like the HWConfig structures they point to.

Mark Thompson committed 6 years ago

Commit cd322791 parent 8fbcc5414 files · +14 −14Browse files

Showing the changes to libavcodec/vaapi_encode.h (1 of 14 files). Show all

Unified · Split

libavcodec/vaapi_encode.h+1−1
@@ -49,7 +49,7 @@ enum { · 48 unmodified lines
4949 MAX_TILE_COLS = 20,
5050 };
5151
52−extern const AVCodecHWConfigInternal *ff_vaapi_encode_hw_configs[];
52+extern const AVCodecHWConfigInternal *const ff_vaapi_encode_hw_configs[];
5353
5454 enum {
5555 PICTURE_TYPE_IDR = 0,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t