Mercurial > libavcodec.hg
comparison avcodec.h @ 3758:c3643ddcbaab libavcodec
move memory functions from avcodec to avutil
| author | lu_zero |
|---|---|
| date | Mon, 25 Sep 2006 15:23:40 +0000 |
| parents | c537a97eec66 |
| children | 6e7dc8fa5f70 |
comparison
equal
deleted
inserted
replaced
| 3757:271eca88821b | 3758:c3643ddcbaab |
|---|---|
| 33 #include <sys/types.h> /* size_t */ | 33 #include <sys/types.h> /* size_t */ |
| 34 | 34 |
| 35 #define AV_STRINGIFY(s) AV_TOSTRING(s) | 35 #define AV_STRINGIFY(s) AV_TOSTRING(s) |
| 36 #define AV_TOSTRING(s) #s | 36 #define AV_TOSTRING(s) #s |
| 37 | 37 |
| 38 #define LIBAVCODEC_VERSION_INT ((51<<16)+(14<<8)+0) | 38 #define LIBAVCODEC_VERSION_INT ((51<<16)+(15<<8)+0) |
| 39 #define LIBAVCODEC_VERSION 51.14.0 | 39 #define LIBAVCODEC_VERSION 51.15.0 |
| 40 #define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT | 40 #define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT |
| 41 | 41 |
| 42 #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION) | 42 #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION) |
| 43 | 43 |
| 44 #define AV_NOPTS_VALUE int64_t_C(0x8000000000000000) | 44 #define AV_NOPTS_VALUE int64_t_C(0x8000000000000000) |
| 2631 extern AVBitStreamFilter remove_extradata_bsf; | 2631 extern AVBitStreamFilter remove_extradata_bsf; |
| 2632 extern AVBitStreamFilter noise_bsf; | 2632 extern AVBitStreamFilter noise_bsf; |
| 2633 | 2633 |
| 2634 | 2634 |
| 2635 /* memory */ | 2635 /* memory */ |
| 2636 void *av_mallocz(unsigned int size); | |
| 2637 char *av_strdup(const char *s); | |
| 2638 void av_freep(void *ptr); | |
| 2639 void *av_fast_realloc(void *ptr, unsigned int *size, unsigned int min_size); | 2636 void *av_fast_realloc(void *ptr, unsigned int *size, unsigned int min_size); |
| 2640 /* for static data only */ | 2637 /* for static data only */ |
| 2641 /* call av_free_static to release all staticaly allocated tables */ | 2638 /* call av_free_static to release all staticaly allocated tables */ |
| 2642 void av_free_static(void); | 2639 void av_free_static(void); |
| 2643 void *av_mallocz_static(unsigned int size); | 2640 void *av_mallocz_static(unsigned int size); |
