Browse Source

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

pull/2/head
Christophe Massiot 22 years ago
parent
commit
07b7a3bfe4
  1. 5
      include/vlc_codec.h
  2. 6
      include/vlc_filter.h

5
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

6
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

Loading…
Cancel
Save