Revision 903a2e86 libavformat/avformat.h

View differences:

libavformat/avformat.h
983 983

  
984 984
#ifdef HAVE_AV_CONFIG_H
985 985

  
986
void __dynarray_add(unsigned long **tab_ptr, int *nb_ptr, unsigned long elem);
986
void ff_dynarray_add(unsigned long **tab_ptr, int *nb_ptr, unsigned long elem);
987 987

  
988 988
#ifdef __GNUC__
989 989
#define dynarray_add(tab, nb_ptr, elem)\
......
991 991
    typeof(tab) _tab = (tab);\
992 992
    typeof(elem) _elem = (elem);\
993 993
    (void)sizeof(**_tab == _elem); /* check that types are compatible */\
994
    __dynarray_add((unsigned long **)_tab, nb_ptr, (unsigned long)_elem);\
994
    ff_dynarray_add((unsigned long **)_tab, nb_ptr, (unsigned long)_elem);\
995 995
} while(0)
996 996
#else
997 997
#define dynarray_add(tab, nb_ptr, elem)\
998 998
do {\
999
    __dynarray_add((unsigned long **)(tab), nb_ptr, (unsigned long)(elem));\
999
    ff_dynarray_add((unsigned long **)(tab), nb_ptr, (unsigned long)(elem));\
1000 1000
} while(0)
1001 1001
#endif
1002 1002

  

Also available in: Unified diff