diff options
author | Dieter <freebsd@sopwith.solgatos.com> | 2006-01-30 23:33:19 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2006-01-30 23:33:19 +0000 |
commit | ceaf1909c19431e9b089535fae32a7f8d185d802 (patch) | |
tree | 31c243ba9963b4df69d09d6f6a46acf407ca551c /libavcodec/vc9.c | |
parent | a851b8e898fa1d2d44660ca5708e3da76107f179 (diff) | |
download | ffmpeg-ceaf1909c19431e9b089535fae32a7f8d185d802.tar.gz |
add static keyword to some functions
patch by Dieter <freebsd at sopwith solgatos com>
Originally committed as revision 4913 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vc9.c')
-rw-r--r-- | libavcodec/vc9.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/vc9.c b/libavcodec/vc9.c index ea0ebae0b7..465edda103 100644 --- a/libavcodec/vc9.c +++ b/libavcodec/vc9.c @@ -929,7 +929,7 @@ static int advanced_entry_point_process(AVCodecContext *avctx, GetBitContext *gb * @todo TODO: Take into account stride * @todo TODO: Allow use of external buffers ? */ -int alloc_bitplane(BitPlane *bp, int width, int height) +static int alloc_bitplane(BitPlane *bp, int width, int height) { if (!bp || bp->width<0 || bp->height<0) return -1; bp->data = (uint8_t*)av_malloc(width*height); @@ -942,7 +942,7 @@ int alloc_bitplane(BitPlane *bp, int width, int height) /** Free the bitplane's buffer * @param bp Bitplane which buffer is to free */ -void free_bitplane(BitPlane *bp) +static void free_bitplane(BitPlane *bp) { bp->width = bp->stride = bp->height = 0; if (bp->data) av_freep(&bp->data); @@ -1832,7 +1832,7 @@ static inline int vc9_pred_dc(MpegEncContext *s, int n, * @todo TODO: Process the blocks * @todo TODO: Use M$ MPEG-4 cbp prediction */ -int vc9_decode_block(VC9Context *v, DCTELEM block[64], int n, int coded, int mquant) +static int vc9_decode_block(VC9Context *v, DCTELEM block[64], int n, int coded, int mquant) { GetBitContext *gb = &v->s.gb; MpegEncContext *s = &v->s; @@ -1979,7 +1979,7 @@ static inline int vc9_coded_block_pred(MpegEncContext * s, int n, uint8_t **code /** Decode one I-frame MB (in Simple/Main profile) * @todo TODO: Extend to AP */ -int vc9_decode_i_mb(VC9Context *v, DCTELEM block[6][64]) +static int vc9_decode_i_mb(VC9Context *v, DCTELEM block[6][64]) { int i, cbp, val; uint8_t *coded_val; @@ -2013,7 +2013,7 @@ int vc9_decode_i_mb(VC9Context *v, DCTELEM block[6][64]) * @todo TODO: Extend to AP * @fixme FIXME: DC value for inter blocks not set */ -int vc9_decode_p_mb(VC9Context *v, DCTELEM block[6][64]) +static int vc9_decode_p_mb(VC9Context *v, DCTELEM block[6][64]) { MpegEncContext *s = &v->s; GetBitContext *gb = &s->gb; @@ -2160,7 +2160,7 @@ int vc9_decode_p_mb(VC9Context *v, DCTELEM block[6][64]) * @warning XXX: Used for decoding BI MBs * @fixme FIXME: DC value for inter blocks not set */ -int vc9_decode_b_mb(VC9Context *v, DCTELEM block[6][64]) +static int vc9_decode_b_mb(VC9Context *v, DCTELEM block[6][64]) { MpegEncContext *s = &v->s; GetBitContext *gb = &v->s.gb; |