# HG changeset patch # User aurel # Date 1138464306 0 # Node ID cc0357a90e8f2172d232c493fc3e40189490c60f # Parent 3c32ecc8eefed6a78c1e17bbfbdf92b42ccec178 make some functions static (patch by Dieter < freebsd at sopwith.solgatos.com >) diff -r 3c32ecc8eefe -r cc0357a90e8f alac.c --- a/alac.c Sat Jan 28 00:57:59 2006 +0000 +++ b/alac.c Sat Jan 28 16:05:06 2006 +0000 @@ -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 */ diff -r 3c32ecc8eefe -r cc0357a90e8f flicvideo.c --- a/flicvideo.c Sat Jan 28 00:57:59 2006 +0000 +++ b/flicvideo.c Sat Jan 28 16:05:06 2006 +0000 @@ -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) { diff -r 3c32ecc8eefe -r cc0357a90e8f h261.c --- a/h261.c Sat Jan 28 00:57:59 2006 +0000 +++ b/h261.c Sat Jan 28 16:05:06 2006 +0000 @@ -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; diff -r 3c32ecc8eefe -r cc0357a90e8f h264.c --- a/h264.c Sat Jan 28 00:57:59 2006 +0000 +++ b/h264.c Sat Jan 28 16:05:06 2006 +0000 @@ -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;