1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

make some functions static (patch by Dieter < freebsd at sopwith.solgatos.com >)

Originally committed as revision 4905 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Dieter 2006-01-28 16:05:06 +00:00 committed by Aurelien Jacobs
parent fdb52bccf6
commit 1b47fafd9f
4 changed files with 5 additions and 5 deletions

View File

@ -84,7 +84,7 @@ static void allocate_buffers(ALACContext *alac)
alac->outputsamples_buffer_b = av_malloc(alac->setinfo_max_samples_per_frame * 4); 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; unsigned char *ptr = alac->avctx->extradata;
@ -125,7 +125,7 @@ static int count_leading_zeros(int32_t input)
return i; return i;
} }
void bastardized_rice_decompress(ALACContext *alac, static void bastardized_rice_decompress(ALACContext *alac,
int32_t *output_buffer, int32_t *output_buffer,
int output_size, int output_size,
int readsamplesize, /* arg_10 */ int readsamplesize, /* arg_10 */

View File

@ -415,7 +415,7 @@ static int flic_decode_frame_8BPP(AVCodecContext *avctx,
return buf_size; 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, void *data, int *data_size,
uint8_t *buf, int buf_size) uint8_t *buf, int buf_size)
{ {

View File

@ -762,7 +762,7 @@ static int h261_decode_block(H261Context * h, DCTELEM * block,
* decodes the H261 picture header. * decodes the H261 picture header.
* @return <0 if no startcode found * @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; MpegEncContext * const s = &h->s;
int format, i; int format, i;
uint32_t startcode= 0; uint32_t startcode= 0;

View File

@ -5741,7 +5741,7 @@ static int decode_cabac_residual( H264Context *h, DCTELEM *block, int cat, int n
return 0; return 0;
} }
void inline compute_mb_neighboors(H264Context *h) static void inline compute_mb_neighboors(H264Context *h)
{ {
MpegEncContext * const s = &h->s; MpegEncContext * const s = &h->s;
const int mb_xy = s->mb_x + s->mb_y*s->mb_stride; const int mb_xy = s->mb_x + s->mb_y*s->mb_stride;