decoder/ffmpeg: work around bogus channel count

Initialize the audio_format before calling avcodec_open(), because
avcodec_open() will fill bogus values.
This commit is contained in:
Max Kellermann
2011-11-27 23:39:21 +01:00
parent 6f365c30eb
commit e1b032cbad
2 changed files with 13 additions and 8 deletions

1
NEWS
View File

@@ -1,6 +1,7 @@
ver 0.16.6 (2010/??/??)
* decoder:
- fix assertion failure when resuming streams
- ffmpeg: work around bogus channel count
* encoder:
- flac, null, wave: fix buffer corruption bug
- wave: support packed 24 bit samples