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/codec.h (1 of 14 files). Show all

Unified · Split

libavcodec/codec.h+1−1
@@ -320,7 +320,7 @@ typedef struct AVCodec { · 319 unmodified lines
320 *320 *
321 * The user can only access this field via avcodec_get_hw_config().321 * The user can only access this field via avcodec_get_hw_config().
322 */322 */
323 const struct AVCodecHWConfigInternal **hw_configs;323 const struct AVCodecHWConfigInternal *const *hw_configs;
324 324
325 /**325 /**
326 * List of supported codec_tags, terminated by FF_CODEC_TAGS_END.326 * List of supported codec_tags, terminated by FF_CODEC_TAGS_END.

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