diff options
author | Dieter <freebsd@sopwith.solgatos.com> | 2006-01-28 16:05:06 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2006-01-28 16:05:06 +0000 |
commit | 1b47fafd9fa21a5bdafa41848dfdccd36623ee6c (patch) | |
tree | 2e7c4e1b0ee932f700f6eae90e5bec13887071bd | |
parent | fdb52bccf609b88f81d3730ff88f8f784cd7be8a (diff) | |
download | ffmpeg-1b47fafd9fa21a5bdafa41848dfdccd36623ee6c.tar.gz |
make some functions static (patch by Dieter < freebsd at sopwith.solgatos.com >)
Originally committed as revision 4905 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/alac.c | 4 | ||||
-rw-r--r-- | libavcodec/flicvideo.c | 2 | ||||
-rw-r--r-- | libavcodec/h261.c | 2 | ||||
-rw-r--r-- | libavcodec/h264.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/alac.c b/libavcodec/alac.c index cda4867f88..21457ab23f 100644 --- a/libavcodec/alac.c +++ b/libavcodec/alac.c @@ -84,7 +84,7 @@ static void allocate_buffers(ALACContext *alac) 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 @@ static int count_leading_zeros(int32_t input) 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 --git a/libavcodec/flicvideo.c b/libavcodec/flicvideo.c index 89879b0947..fa128d0d3b 100644 --- a/libavcodec/flicvideo.c +++ b/libavcodec/flicvideo.c @@ -415,7 +415,7 @@ static int flic_decode_frame_8BPP(AVCodecContext *avctx, 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 --git a/libavcodec/h261.c b/libavcodec/h261.c index 9b672545a1..c6218c8b9d 100644 --- a/libavcodec/h261.c +++ b/libavcodec/h261.c @@ -762,7 +762,7 @@ static int h261_decode_block(H261Context * h, DCTELEM * block, * 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 --git a/libavcodec/h264.c b/libavcodec/h264.c index 43e349e36b..9339251c6e 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -5741,7 +5741,7 @@ static int decode_cabac_residual( H264Context *h, DCTELEM *block, int cat, int n 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; |