Mercurial > libavcodec.hg
diff utils.c @ 2231:c87bab25f89f libavcodec
changing size segfault fix
author | michael |
---|---|
date | Wed, 15 Sep 2004 00:35:18 +0000 |
parents | db8baace74d8 |
children | 8f605c66d1d4 |
line wrap: on
line diff
--- a/utils.c Tue Sep 14 18:35:03 2004 +0000 +++ b/utils.c Wed Sep 15 00:35:18 2004 +0000 @@ -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 @@ 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;