Mercurial > libavcodec.hg
comparison utils.c @ 4577:88cf097ebe75 libavcodec
av_realloc_static() is an internal function and therefore should use the ff_ prefix instead of av_.
| author | takis |
|---|---|
| date | Fri, 23 Feb 2007 00:20:39 +0000 |
| parents | f0138063c568 |
| children | 006563b9ab27 |
comparison
equal
deleted
inserted
replaced
| 4576:ad02fe65f45a | 4577:88cf097ebe75 |
|---|---|
| 85 } | 85 } |
| 86 | 86 |
| 87 return ptr; | 87 return ptr; |
| 88 } | 88 } |
| 89 | 89 |
| 90 void *av_realloc_static(void *ptr, unsigned int size) | 90 void *ff_realloc_static(void *ptr, unsigned int size) |
| 91 { | 91 { |
| 92 int i; | 92 int i; |
| 93 if(!ptr) | 93 if(!ptr) |
| 94 return av_mallocz_static(size); | 94 return av_mallocz_static(size); |
| 95 /* Look for the old ptr */ | 95 /* Look for the old ptr */ |
