[MPlayer-dev-eng] [PATCH] for some issues

Meihui Fan mhfan at hhcn.com
Thu Sep 15 07:16:19 CEST 2005


* seeking align to sh_audio->wf->nBlockAlign for WAV audio file,
   so avoid disturbing some ADPCM decoders like imaadpcm after seek.

* the MAXFRAMESIZE in mp3lib is limited too small, I don't know there is
   any other reason except for considering memory usage to defined it to
   1280. IMHO, it should be(is it right?):
	((384*(256/8)/ 8+1)*4)  // = 6148 for MPEG V2/2.5 L1
	(1152*(160/8)/ 8+1)     // = 2881 for MPEG V2/2.5 L2/3
	((384*(448/8)/32+1)*4)  // = 2692 for MPEG V1     L1
	(1152*(384/8)/32+1)     // = 1729 for MPEG V1     L2/3
   Actually, I have met a MP2 audio that is avoided but could really
   decoded by mp3lib.  In this patch, I peek the FFMPEG's definition,
   that is 1792.

* while compiling codec-cfg some commandline options is nothing matter,
   but would cause compiler error in some cross-compile cases.

-- 
Best Regards,
范美辉 (Meihui Fan)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cvs.diff
Type: text/x-patch
Size: 2060 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050915/33ea6d95/attachment.bin>


More information about the MPlayer-dev-eng mailing list