Author: cehoyos Date: Sun Feb 28 20:05:51 2010 New Revision: 22117 Log: Make av_get_bit_rate() static and remove av_, the function is only used inside libavcodec/utils.c. Modified: trunk/libavcodec/utils.c Modified: trunk/libavcodec/utils.c ============================================================================== --- trunk/libavcodec/utils.c Sun Feb 28 20:03:38 2010 (r22116) +++ trunk/libavcodec/utils.c Sun Feb 28 20:05:51 2010 (r22117) @@ -769,7 +769,7 @@ AVCodec *avcodec_find_decoder_by_name(co 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_s 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);
participants (1)
-
subversion@mplayerhq.hu