# HG changeset patch # User cehoyos # Date 1267383951 0 # Node ID 7089198d1d10d7e26c26636e10adbb486c478fb4 # Parent c4e86bcb2feeb3da4cfb5479c7f04bb94930c69e Make av_get_bit_rate() static and remove av_, the function is only used inside libavcodec/utils.c. diff -r c4e86bcb2fee -r 7089198d1d10 utils.c --- a/utils.c Sun Feb 28 19:03:38 2010 +0000 +++ b/utils.c Sun Feb 28 19:05:51 2010 +0000 @@ -769,7 +769,7 @@ 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 @@ 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);