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
49 MAX_TILE_COLS = 20,49 MAX_TILE_COLS = 20,
50};50};
51 51
52extern const AVCodecHWConfigInternal *ff_vaapi_encode_hw_configs[];52extern const AVCodecHWConfigInternal *const ff_vaapi_encode_hw_configs[];
53 53
54enum {54enum {
55 PICTURE_TYPE_IDR = 0,55 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