[FFmpeg-devel] [PATCH 07/10] Mark some internal functions in mpegaudiodec.c as static.
Diego 'Flameeyes' Pettenò
flameeyes
Fri Oct 3 15:06:14 CEST 2008
---
libavcodec/mpegaudiodec.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
index 86d9f6b..5fdb2e9 100644
--- a/libavcodec/mpegaudiodec.c
+++ b/libavcodec/mpegaudiodec.c
@@ -132,7 +132,7 @@ static DECLARE_ALIGNED_16(MPA_INT, window[512]);
* Convert region offsets to region sizes and truncate
* size to big_values.
*/
-void ff_region_offset2size(GranuleDef *g){
+static void ff_region_offset2size(GranuleDef *g){
int i, k, j=0;
g->region_size[2] = (576 / 2);
for(i=0;i<3;i++) {
@@ -142,7 +142,7 @@ void ff_region_offset2size(GranuleDef *g){
}
}
-void ff_init_short_region(MPADecodeContext *s, GranuleDef *g){
+static void ff_init_short_region(MPADecodeContext *s, GranuleDef *g){
if (g->block_type == 2)
g->region_size[0] = (36 / 2);
else {
@@ -156,7 +156,7 @@ void ff_init_short_region(MPADecodeContext *s, GranuleDef *g){
g->region_size[1] = (576 / 2);
}
-void ff_init_long_region(MPADecodeContext *s, GranuleDef *g, int ra1, int ra2){
+static void ff_init_long_region(MPADecodeContext *s, GranuleDef *g, int ra1, int ra2){
int l;
g->region_size[0] =
band_index_long[s->sample_rate_index][ra1 + 1] >> 1;
@@ -166,7 +166,7 @@ void ff_init_long_region(MPADecodeContext *s, GranuleDef *g, int ra1, int ra2){
band_index_long[s->sample_rate_index][l] >> 1;
}
-void ff_compute_band_indexes(MPADecodeContext *s, GranuleDef *g){
+static void ff_compute_band_indexes(MPADecodeContext *s, GranuleDef *g){
if (g->block_type == 2) {
if (g->switch_point) {
/* if switched mode, we handle the 36 first samples as
More information about the ffmpeg-devel
mailing list