Mercurial > libavcodec.hg
comparison avcodec.h @ 4571:6f3ed8519dff libavcodec
Doxygenize the comments for the av_realloc_static() function.
| author | takis |
|---|---|
| date | Thu, 22 Feb 2007 19:10:55 +0000 |
| parents | 58be423405db |
| children | 669df346003b |
comparison
equal
deleted
inserted
replaced
| 4570:58be423405db | 4571:6f3ed8519dff |
|---|---|
| 2911 * allocation of static arrays - do not use for normal allocation. | 2911 * allocation of static arrays - do not use for normal allocation. |
| 2912 */ | 2912 */ |
| 2913 void *av_mallocz_static(unsigned int size); | 2913 void *av_mallocz_static(unsigned int size); |
| 2914 | 2914 |
| 2915 /** | 2915 /** |
| 2916 * same as above, but does realloc | 2916 * Same as av_mallocz_static(), but does a realloc. |
| 2917 * | |
| 2918 * @param[in] ptr The block of memory to reallocate. | |
| 2919 * @param[in] size The requested size. | |
| 2920 * @return Block of memory of requested size. | |
| 2917 */ | 2921 */ |
| 2918 void *av_realloc_static(void *ptr, unsigned int size); | 2922 void *av_realloc_static(void *ptr, unsigned int size); |
| 2919 | 2923 |
| 2920 void img_copy(AVPicture *dst, const AVPicture *src, | 2924 void img_copy(AVPicture *dst, const AVPicture *src, |
| 2921 int pix_fmt, int width, int height); | 2925 int pix_fmt, int width, int height); |
