changeset 11323:7089198d1d10 libavcodec

Make av_get_bit_rate() static and remove av_, the function is only used inside libavcodec/utils.c.
author cehoyos
date Sun, 28 Feb 2010 19:05:51 +0000
parents c4e86bcb2fee
children 5cc6cb5167d8
files utils.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);