[MPlayer-dev-eng] Faad problem

César Ramos x-files at telefonica.net
Mon Sep 20 01:07:45 CEST 2004


This commit:

 

int init_audio_codec(sh_audio_t *sh_audio)

{

 

-  // reset in/out buffer size/pointer:

-  sh_audio->a_buffer_size=0;

-  sh_audio->a_buffer=NULL;

-  sh_audio->a_in_buffer_size=0;

-  sh_audio->a_in_buffer=NULL;

-

-  // Set up some common usefull defaults. ad->preinit() can override these:

-  

-  sh_audio->samplesize=2;

-  sh_audio->sample_format=AFMT_S16_NE;

- sh_audio->samplerate=0;

-  sh_audio->channels=0;

-  sh_audio->i_bps=0;  // input rate (bytes/sec)

- sh_audio->o_bps=0;  // output rate (bytes/sec)

-

-  sh_audio->audio_out_minsize=8192;/* default size, maybe not enough for
Win32/ACM*/

-  sh_audio->audio_in_minsize=0;

  

  if(!mpadec->preinit(sh_audio))

 

broke faad!!!

 

You can see more in bugzilla >>
http://bugzilla.mplayerhq.hu/show_bug.cgi?id=92

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040920/c019a6e8/attachment.htm>


More information about the MPlayer-dev-eng mailing list