[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec alac.c, 1.8, 1.9 flicvideo.c, 1.8, 1.9 h261.c, 1.29, 1.30 h264.c, 1.182, 1.183

Aurelien Jacobs CVS aurel
Sat Jan 28 17:05:10 CET 2006


Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv14997/libavcodec

Modified Files:
	alac.c flicvideo.c h261.c h264.c 
Log Message:
make some functions static (patch by Dieter < freebsd at sopwith.solgatos.com >)

Index: alac.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/alac.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- alac.c	12 Jan 2006 22:43:14 -0000	1.8
+++ alac.c	28 Jan 2006 16:05:06 -0000	1.9
@@ -84,7 +84,7 @@
     alac->outputsamples_buffer_b = av_malloc(alac->setinfo_max_samples_per_frame * 4);
 }
 
-void alac_set_info(ALACContext *alac)
+static void alac_set_info(ALACContext *alac)
 {
     unsigned char *ptr = alac->avctx->extradata;
 
@@ -125,7 +125,7 @@
     return i;
 }
 
-void bastardized_rice_decompress(ALACContext *alac,
+static void bastardized_rice_decompress(ALACContext *alac,
                                  int32_t *output_buffer,
                                  int output_size,
                                  int readsamplesize, /* arg_10 */

Index: flicvideo.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/flicvideo.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- flicvideo.c	12 Jan 2006 22:43:15 -0000	1.8
+++ flicvideo.c	28 Jan 2006 16:05:06 -0000	1.9
@@ -415,7 +415,7 @@
     return buf_size;
 }
 
-int flic_decode_frame_15_16BPP(AVCodecContext *avctx,
+static int flic_decode_frame_15_16BPP(AVCodecContext *avctx,
                                       void *data, int *data_size,
                                       uint8_t *buf, int buf_size)
 {

Index: h261.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/h261.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- h261.c	12 Jan 2006 22:43:15 -0000	1.29
+++ h261.c	28 Jan 2006 16:05:06 -0000	1.30
@@ -762,7 +762,7 @@
  * decodes the H261 picture header.
  * @return <0 if no startcode found
  */
-int h261_decode_picture_header(H261Context *h){
+static int h261_decode_picture_header(H261Context *h){
     MpegEncContext * const s = &h->s;
     int format, i;
     uint32_t startcode= 0;

Index: h264.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/h264.c,v
retrieving revision 1.182
retrieving revision 1.183
diff -u -d -r1.182 -r1.183
--- h264.c	25 Jan 2006 22:10:12 -0000	1.182
+++ h264.c	28 Jan 2006 16:05:06 -0000	1.183
@@ -5741,7 +5741,7 @@
     return 0;
 }
 
-void inline compute_mb_neighboors(H264Context *h)
+static void inline compute_mb_neighboors(H264Context *h)
 {
     MpegEncContext * const s = &h->s;
     const int mb_xy  = s->mb_x + s->mb_y*s->mb_stride;





More information about the ffmpeg-cvslog mailing list