]> git.sesse.net Git - vlc/commitdiff
* Added a big fat warning on members of filter_t and decoder_t.
authorChristophe Massiot <massiot@videolan.org>
Fri, 20 May 2005 17:54:10 +0000 (17:54 +0000)
committerChristophe Massiot <massiot@videolan.org>
Fri, 20 May 2005 17:54:10 +0000 (17:54 +0000)
include/vlc_codec.h
include/vlc_filter.h

index b22220c0a177de3d7e512cc75da60139d326c2ab..40425271b863fb201e52a6843653f03d24e9fbb8 100644 (file)
@@ -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
index 761d8e5b08b206b514b09829703498f6fc117446..a4daadbbfaee56c7de84ef4a38fd8be5b11019a6 100644 (file)
@@ -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