diff --git a/include/vlc_codec.h b/include/vlc_codec.h index b22220c0a1..40425271b8 100644 --- a/include/vlc_codec.h +++ b/include/vlc_codec.h @@ -38,6 +38,11 @@ typedef struct decoder_owner_sys_t decoder_owner_sys_t; * @{ */ +/* + * BIG FAT WARNING : the code relies in the first 4 members of filter_t + * and decoder_t to be the same, so if you have anything to add, do it + * at the end of the structure. + */ struct decoder_t { VLC_COMMON_MEMBERS diff --git a/include/vlc_filter.h b/include/vlc_filter.h index 761d8e5b08..a4daadbbfa 100644 --- a/include/vlc_filter.h +++ b/include/vlc_filter.h @@ -37,6 +37,12 @@ typedef struct filter_owner_sys_t filter_owner_sys_t; * * @{ */ + +/* + * BIG FAT WARNING : the code relies in the first 4 members of filter_t + * and decoder_t to be the same, so if you have anything to add, do it + * at the end of the structure. + */ struct filter_t { VLC_COMMON_MEMBERS