audio: rename i_bps to 'bitrate' to avoid confusion

Since i_bps now contains bits/sec, rename it to reflect this change.
This commit is contained in:
Marcoen Hirschberg
2014-05-27 00:15:41 +02:00
committed by wm4
parent 6e58b20cce
commit 434242adb5
10 changed files with 19 additions and 19 deletions

View File

@@ -806,7 +806,7 @@ static int demux_open_tv(demuxer_t *demuxer, enum demux_check check)
int block_align = samplesize * sh_audio->channels.num;
int bytes_per_second = sh_audio->samplerate * block_align;
sh_audio->i_bps = bytes_per_second * 8;
sh_audio->bitrate = bytes_per_second * 8;
// emulate WF for win32 codecs:
sh_audio->wf = talloc_zero(sh_audio, MP_WAVEFORMATEX);