[MPlayer-cvslog] CVS: main/libmpcodecs ad_mpc.c,1.9,1.10

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu Apr 20 11:22:18 CEST 2006


Hi,
On Thu, Apr 20, 2006 at 02:04:35AM +0300, Uoti Urpala wrote:
> On Thu, 2006-04-20 at 00:34 +0200, Reimar Döffinger CVS wrote:
> > -//  sh->audio_out_minsize = 2 * MPC_DECODER_BUFFER_LENGTH;
> > +  sh->audio_out_minsize = 2 * MPC_DECODER_BUFFER_LENGTH;
> 
> #define MAX_FRAMESIZE (4 * MPC_DECODER_BUFFER_LENGTH)

I was told that in some cases the decoder will decode 2 frames, that's
where the 4 comes from. But since I did not find that case in the code,
2 * MPC_DECODER_BUFFER_LENGTH is probably still safe.
Nevertheless, fixed it for consistency and readability reasons, thanks for telling me.

Greetings,
Reimar Döffinger




More information about the MPlayer-cvslog mailing list