Mercurial > libavcodec.hg
comparison faac.c @ 4170:f97a2081b5b1 libavcodec
make some symbols static
author | mru |
---|---|
date | Sat, 11 Nov 2006 20:54:48 +0000 |
parents | c8c591fe26f8 |
children | d77c5a6824e4 |
comparison
equal
deleted
inserted
replaced
4169:8d67ae8320dc | 4170:f97a2081b5b1 |
---|---|
93 } | 93 } |
94 | 94 |
95 return 0; | 95 return 0; |
96 } | 96 } |
97 | 97 |
98 int Faac_encode_frame(AVCodecContext *avctx, | 98 static int Faac_encode_frame(AVCodecContext *avctx, |
99 unsigned char *frame, int buf_size, void *data) | 99 unsigned char *frame, int buf_size, void *data) |
100 { | 100 { |
101 FaacAudioContext *s = avctx->priv_data; | 101 FaacAudioContext *s = avctx->priv_data; |
102 int bytes_written; | 102 int bytes_written; |
103 | 103 |
104 bytes_written = faacEncEncode(s->faac_handle, | 104 bytes_written = faacEncEncode(s->faac_handle, |
108 buf_size); | 108 buf_size); |
109 | 109 |
110 return bytes_written; | 110 return bytes_written; |
111 } | 111 } |
112 | 112 |
113 int Faac_encode_close(AVCodecContext *avctx) | 113 static int Faac_encode_close(AVCodecContext *avctx) |
114 { | 114 { |
115 FaacAudioContext *s = avctx->priv_data; | 115 FaacAudioContext *s = avctx->priv_data; |
116 | 116 |
117 av_freep(&avctx->coded_frame); | 117 av_freep(&avctx->coded_frame); |
118 | 118 |