Commit 07b7a3bf authored by Christophe Massiot's avatar Christophe Massiot

* Added a big fat warning on members of filter_t and decoder_t.

parent 07b57983
...@@ -38,6 +38,11 @@ typedef struct decoder_owner_sys_t decoder_owner_sys_t; ...@@ -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 struct decoder_t
{ {
VLC_COMMON_MEMBERS VLC_COMMON_MEMBERS
......
...@@ -37,6 +37,12 @@ typedef struct filter_owner_sys_t filter_owner_sys_t; ...@@ -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 struct filter_t
{ {
VLC_COMMON_MEMBERS VLC_COMMON_MEMBERS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment