[MPlayer-dev-eng] [PATCH] MMS/TCP streaming: ASF header buffer size
bl4
bl4 at playker.info
Mon May 26 22:51:53 CEST 2008
On Mon, 19 May 2008 16:42:03 +0200, bl4 <bl4 at playker.info> wrote:
> In MMS over TCP streaming, buffer size for ASF header is fixed:
>
> #define HDR_BUF_SIZE 8192
>
> I've often found this value too small, ASF headers may be bigger than
> 8192 bytes. It results in "Invalid header size, giving up" error and
> fallback to MMS over HTTP. Doubling the buffer size solved the problem
> for me, nevertheless I've made a patch that reads entire ASF header
> size from the beginning of the header and allocates required amount of
> memory.
May I ask for a review of this patch?
--
bl4
More information about the MPlayer-dev-eng
mailing list