]> git.sesse.net Git - ffmpeg/commitdiff
Mark list heads static. Patch by Diego Pettenò
authorDiego Pettenò <flameeyes@gmail.com>
Sat, 4 Oct 2008 09:29:31 +0000 (09:29 +0000)
committerLuca Barbato <lu_zero@gentoo.org>
Sat, 4 Oct 2008 09:29:31 +0000 (09:29 +0000)
Originally committed as revision 15548 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/bitstream_filter.c
libavcodec/parser.c
libavcodec/utils.c

index aeafd7db40c021f0dfafa8a953781d30efed7ec9..1a6ba396d2e794b42fdd696216a34063a582fe5e 100644 (file)
@@ -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;
index 94399bfbbe51151d0a8e1fbfdac42747f07acd45..7262b92878cd2b3e084772f16025e554abee5395 100644 (file)
@@ -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;
index b79d235445e5155e5d6b91ab09b22cc64d171268..31a5d373472627545a0ec70fefed2b91730e7cac 100644 (file)
@@ -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;