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

Andrew A. Gill superluser at frontiernet.net
Sun Jul 31 22:03:33 CEST 2005


On Sun, 31 Jul 2005, Reimar [iso-8859-1] Döffinger wrote:

> 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!

Fixes MP3.  FLAC still crashes.  If you can fix FLAC, too, I
will be your secret best friend--which basically means that I
will do anything for you, but I don't annoy you with it.

Thank you!

-- 
|Andrew A. Gill                       |I posted to Silent-Tristero and|
|<superluser at frontiernet.net>         |all I got was this stupid sig! |
|alt.tv.simpsons CBG-FAQ author       |                               |
|                          (Report all obscene mail to Le Maitre Pots)|
|Yet: <http://www.needsfoodbadly.com>                 Temporary sig: --

In advance!




More information about the MPlayer-dev-eng mailing list