summaryrefslogtreecommitdiff
path: root/libavcodec/mpegaudio.c
diff options
context:
space:
mode:
authorZdenek Kabelac <kabi@informatics.muni.cz>2003-02-10 09:35:32 +0000
committerZdenek Kabelac <kabi@informatics.muni.cz>2003-02-10 09:35:32 +0000
commit5c91a6755b6412c918e20ff4735ca30f38a12569 (patch)
tree054521cdfc6d752e89883ef3fcfc05d6c31fd94c /libavcodec/mpegaudio.c
parentcd66005ddaebba2d6cb3b4eae75f70ae2446b204 (diff)
* static,const,compiler warning cleanup
Originally committed as revision 1567 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegaudio.c')
-rw-r--r--libavcodec/mpegaudio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/mpegaudio.c b/libavcodec/mpegaudio.c
index 28329ded4b..dbf7a4b3da 100644
--- a/libavcodec/mpegaudio.c
+++ b/libavcodec/mpegaudio.c
@@ -54,7 +54,7 @@ typedef struct MpegAudioContext {
#include "mpegaudiotab.h"
-int MPA_encode_init(AVCodecContext *avctx)
+static int MPA_encode_init(AVCodecContext *avctx)
{
MpegAudioContext *s = avctx->priv_data;
int freq = avctx->sample_rate;
@@ -737,8 +737,8 @@ static void encode_frame(MpegAudioContext *s,
flush_put_bits(p);
}
-int MPA_encode_frame(AVCodecContext *avctx,
- unsigned char *frame, int buf_size, void *data)
+static int MPA_encode_frame(AVCodecContext *avctx,
+ unsigned char *frame, int buf_size, void *data)
{
MpegAudioContext *s = avctx->priv_data;
short *samples = data;