[MPlayer-dev-eng] [PATCH] set i_bps in demux_audio, other fixes

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Jul 31 18:33:47 CEST 2005


Hi,
On Fri, Jul 29, 2005 at 02:18:50PM +0200, Reimar D?ffinger wrote:
> the attached patch sets sh_audio->i_bps for MP3 and WAV files, avoiding
> a division by zero (since the decoder can only set it _after_ the first
> call to demux_audio_fill_buffer)
> It also fixes that bug that the format field for MP3 is set according to
> the last MPEG-Audio like header, instead of the one we decided is the
> right one (mp3_found).
> Please comment (and esp. test).

Comments? Test results? If not I will apply soon!

Greetings,
Reimar Döffinger




More information about the MPlayer-dev-eng mailing list