projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
771b9a7
)
memory functions are exported
author
Fabrice Bellard
<fabrice@bellard.org>
Tue, 11 Jun 2002 13:42:18 +0000
(13:42 +0000)
committer
Fabrice Bellard
<fabrice@bellard.org>
Tue, 11 Jun 2002 13:42:18 +0000
(13:42 +0000)
Originally committed as revision 686 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/avcodec.h
patch
|
blob
|
history
diff --git
a/libavcodec/avcodec.h
b/libavcodec/avcodec.h
index
68b6715
..
367268c
100644
(file)
--- a/
libavcodec/avcodec.h
+++ b/
libavcodec/avcodec.h
@@
-520,4
+520,11
@@
typedef enum {
*/
int avcodec(void* handle, avc_cmd_t cmd, void* pin, void* pout);
+/* memory */
+void *av_malloc(int size);
+void *av_mallocz(int size);
+void av_free(void *ptr);
+void __av_freep(void **ptr);
+#define av_freep(p) __av_freep((void **)(p))
+
#endif /* AVCODEC_H */