[FFmpeg-cvslog] au: set bit rate

Justin Ruggles git at videolan.org
Thu Jan 10 10:32:23 CET 2013


ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Sun Dec 23 13:19:31 2012 -0500| [9a7b56883d1333cdfcdf0fa7584a333841b86114] | committer: Justin Ruggles

au: set bit rate

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9a7b56883d1333cdfcdf0fa7584a333841b86114
---

 libavformat/au.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/au.c b/libavformat/au.c
index 5499c6b..f1038da 100644
--- a/libavformat/au.c
+++ b/libavformat/au.c
@@ -111,6 +111,7 @@ static int au_read_header(AVFormatContext *s)
     st->codec->codec_id = codec;
     st->codec->channels = channels;
     st->codec->sample_rate = rate;
+    st->codec->bit_rate    = channels * rate * bps;
     avpriv_set_pts_info(st, 64, 1, rate);
     return 0;
 }



More information about the ffmpeg-cvslog mailing list