Mercurial > libavcodec.hg
comparison bitstream.c @ 6945:7128fa020b0e libavcodec
unused
author | michael |
---|---|
date | Fri, 30 May 2008 23:27:21 +0000 |
parents | 030cc3278868 |
children | d3a1ac3e227b |
comparison
equal
deleted
inserted
replaced
6944:030cc3278868 | 6945:7128fa020b0e |
---|---|
39 * @deprecated. Code which uses ff_realloc_static is broken/misdesigned | 39 * @deprecated. Code which uses ff_realloc_static is broken/misdesigned |
40 * and should correctly use static arrays | 40 * and should correctly use static arrays |
41 */ | 41 */ |
42 attribute_deprecated av_alloc_size(2) | 42 attribute_deprecated av_alloc_size(2) |
43 static void *ff_realloc_static(void *ptr, unsigned int size); | 43 static void *ff_realloc_static(void *ptr, unsigned int size); |
44 | |
45 static void *av_mallocz_static(unsigned int size) | |
46 { | |
47 return av_mallocz(size); | |
48 } | |
49 | 44 |
50 static void *ff_realloc_static(void *ptr, unsigned int size) | 45 static void *ff_realloc_static(void *ptr, unsigned int size) |
51 { | 46 { |
52 return av_realloc(ptr, size); | 47 return av_realloc(ptr, size); |
53 } | 48 } |