Browse Source

au: set bit rate

tags/n1.2
Justin Ruggles 12 years ago
parent
commit
9a7b56883d
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/au.c

+ 1
- 0
libavformat/au.c View File

@@ -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;
}


Loading…
Cancel
Save