summaryrefslogtreecommitdiff
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-09-15 00:35:18 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-09-15 00:35:18 +0000
commitb100eab86950e4b48a8435d6b40f4c577a86ea93 (patch)
treeda5d7933a634d7eda0081762f92d9ae3a6479af1 /libavcodec/utils.c
parentd32064c0f71f27e57481dd988742bb1f232d44b3 (diff)
changing size segfault fix
Originally committed as revision 3463 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 5e43d4452d..a34a65db71 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -31,7 +31,7 @@
#include <stdarg.h>
#include <limits.h>
-static void avcodec_default_free_buffers(AVCodecContext *s);
+void avcodec_default_free_buffers(AVCodecContext *s);
void *av_mallocz(unsigned int size)
{
@@ -760,7 +760,7 @@ void avcodec_flush_buffers(AVCodecContext *avctx)
avctx->codec->flush(avctx);
}
-static void avcodec_default_free_buffers(AVCodecContext *s){
+void avcodec_default_free_buffers(AVCodecContext *s){
int i, j;
if(s->internal_buffer==NULL) return;