[FFmpeg-cvslog] r15548 - in trunk/libavcodec: bitstream_filter.c parser.c utils.c

lu_zero subversion
Sat Oct 4 11:29:31 CEST 2008


Author: lu_zero
Date: Sat Oct  4 11:29:31 2008
New Revision: 15548

Log:
Mark list heads static. Patch by Diego Petten?

Modified:
   trunk/libavcodec/bitstream_filter.c
   trunk/libavcodec/parser.c
   trunk/libavcodec/utils.c

Modified: trunk/libavcodec/bitstream_filter.c
==============================================================================
--- trunk/libavcodec/bitstream_filter.c	(original)
+++ trunk/libavcodec/bitstream_filter.c	Sat Oct  4 11:29:31 2008
@@ -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;

Modified: trunk/libavcodec/parser.c
==============================================================================
--- trunk/libavcodec/parser.c	(original)
+++ trunk/libavcodec/parser.c	Sat Oct  4 11:29:31 2008
@@ -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;

Modified: trunk/libavcodec/utils.c
==============================================================================
--- trunk/libavcodec/utils.c	(original)
+++ trunk/libavcodec/utils.c	Sat Oct  4 11:29:31 2008
@@ -79,7 +79,7 @@ void *av_fast_realloc(void *ptr, unsigne
 }
 
 /* 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-cvslog mailing list