[FFmpeg-devel] [PATCH 04/10] Mark list heads static.
Diego 'Flameeyes' Pettenò
flameeyes
Fri Oct 3 15:05:43 CEST 2008
---
libavcodec/bitstream_filter.c | 2 +-
libavcodec/parser.c | 2 +-
libavcodec/utils.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavcodec/bitstream_filter.c b/libavcodec/bitstream_filter.c
index aeafd7d..1a6ba39 100644
--- a/libavcodec/bitstream_filter.c
+++ b/libavcodec/bitstream_filter.c
@@ -20,7 +20,7 @@
#include "avcodec.h"
-AVBitStreamFilter *first_bitstream_filter= NULL;
+static AVBitStreamFilter *first_bitstream_filter= NULL;
AVBitStreamFilter *av_bitstream_filter_next(AVBitStreamFilter *f){
if(f) return f->next;
diff --git a/libavcodec/parser.c b/libavcodec/parser.c
index 94399bf..7262b92 100644
--- a/libavcodec/parser.c
+++ b/libavcodec/parser.c
@@ -22,7 +22,7 @@
#include "parser.h"
-AVCodecParser *av_first_parser = NULL;
+static AVCodecParser *av_first_parser = NULL;
AVCodecParser* av_parser_next(AVCodecParser *p){
if(p) return p->next;
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index b79d235..31a5d37 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -79,7 +79,7 @@ void *av_fast_realloc(void *ptr, unsigned int *size, unsigned int min_size)
}
/* encoder management */
-AVCodec *first_avcodec = NULL;
+static AVCodec *first_avcodec = NULL;
AVCodec *av_codec_next(AVCodec *c){
if(c) return c->next;
More information about the ffmpeg-devel
mailing list