From: Christophe Massiot Date: Fri, 20 May 2005 17:54:10 +0000 (+0000) Subject: * Added a big fat warning on members of filter_t and decoder_t. X-Git-Tag: 0.8.2~160 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=07b7a3bfe42c871ab5aafef55fe8d44c000b4f30;p=vlc * Added a big fat warning on members of filter_t and decoder_t. --- 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