Commit 9a7b5688 authored by Justin Ruggles's avatar Justin Ruggles

au: set bit rate

parent 3f98848d
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment