aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2003-01-23 23:03:09 +0000
committerFabrice Bellard <fabrice@bellard.org>2003-01-23 23:03:09 +0000
commit8e1e6f31c142aeb27d3dd7df539c47b35d7eb903 (patch)
treea1e73532f1654c52016b9ccaf233aa4add95dfd3 /libavcodec/avcodec.h
parent47e2a6e6c521a007f78b23ed554a1b81defef936 (diff)
downloadffmpeg-8e1e6f31c142aeb27d3dd7df539c47b35d7eb903.tar.gz
use av_malloc() functions - added av_strdup and av_realloc()
Originally committed as revision 1505 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 61ce24e3dd..e2252f4c99 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1233,7 +1233,9 @@ int avcodec(void* handle, avc_cmd_t cmd, void* pin, void* pout);
/* memory */
void *av_malloc(unsigned int size);
void *av_mallocz(unsigned int size);
+void *av_realloc(void *ptr, unsigned int size);
void av_free(void *ptr);
+char *av_strdup(const char *s);
void __av_freep(void **ptr);
#define av_freep(p) __av_freep((void **)(p))
void *av_fast_realloc(void *ptr, int *size, int min_size);