ogg_afh.c: store bitrate, frequency and channels in struct audio_file info
authorAndre Noll <maan@systemlinux.org>
Sat, 24 Mar 2007 21:20:29 +0000 (22:20 +0100)
committerAndre Noll <maan@systemlinux.org>
Sat, 24 Mar 2007 21:20:29 +0000 (22:20 +0100)
commit86c9ceb46b4299282ea1e5f3fe1aab7a97ef30bc
treeff3c353620e3465c6051ced75fa4025b3145d975
parenta15abef9eee4b8369b3ce8fcaad91a2e0c879df5
ogg_afh.c: store bitrate, frequency and channels in struct audio_file info

This patch also contains some other improvements:

- make sure that we never write beyond the end of the chunk table
- get rid of some unneeded includes
- kill pointless raw_total variable
- get rid of time_total, vi_sampling_rate and vi_bitrate and use
  the corresponding members of struct audio_file_info directly
ogg_afh.c