diff options
author | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2010-02-28 19:05:51 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2010-02-28 19:05:51 +0000 |
commit | 406aa93fd0cdc9055bab3aa509ab6eed062984b2 (patch) | |
tree | ac643ea7984f40398e2fdef7538c7a637068d97f | |
parent | 88f83607b633c093a13fed06d9cf2ba546ef68e4 (diff) | |
download | ffmpeg-406aa93fd0cdc9055bab3aa509ab6eed062984b2.tar.gz |
Make av_get_bit_rate() static and remove av_, the function is only used
inside libavcodec/utils.c.
Originally committed as revision 22117 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 0aebd535c8..e48cf6e4c8 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -769,7 +769,7 @@ AVCodec *avcodec_find_decoder_by_name(const char *name) return NULL; } -int av_get_bit_rate(AVCodecContext *ctx) +static int get_bit_rate(AVCodecContext *ctx) { int bit_rate; int bits_per_sample; @@ -907,7 +907,7 @@ void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode) snprintf(buf + strlen(buf), buf_size - strlen(buf), ", pass 2"); } - bitrate = av_get_bit_rate(enc); + bitrate = get_bit_rate(enc); if (bitrate != 0) { snprintf(buf + strlen(buf), buf_size - strlen(buf), ", %d kb/s", bitrate / 1000); |