diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-12-23 13:19:31 -0500 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2013-01-09 11:52:56 -0500 |
commit | 9a7b56883d1333cdfcdf0fa7584a333841b86114 (patch) | |
tree | f64d11f6466fcc5b76f1e7c0aa1db6f3dc6ccee0 /libavformat/au.c | |
parent | 3f98848d6e04a11f28e776b665fb14e58d56e015 (diff) | |
download | ffmpeg-9a7b56883d1333cdfcdf0fa7584a333841b86114.tar.gz |
au: set bit rate
Diffstat (limited to 'libavformat/au.c')
-rw-r--r-- | libavformat/au.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/au.c b/libavformat/au.c index 5499c6bd75..f1038da64b 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; } |