From 07b7a3bfe42c871ab5aafef55fe8d44c000b4f30 Mon Sep 17 00:00:00 2001 From: Christophe Massiot Date: Fri, 20 May 2005 17:54:10 +0000 Subject: [PATCH] * Added a big fat warning on members of filter_t and decoder_t. --- include/vlc_codec.h | 5 +++++ include/vlc_filter.h | 6 ++++++ 2 files changed, 11 insertions(+) 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 -- 2.39.5