[MPlayer-dev-eng] Re: [PATCH] http1 to ingore DEMUXER_TYPE_ASF unconditionally

Zuxy zuxy.meng at gmail.com
Fri Oct 14 17:25:06 CEST 2005


2005/10/14, Alban Bedel <albeu at free.fr>:
>
> Anyway such global variable is not acceptable. This belong in stream->priv
> or the like.

So Alban, what do you suggest?

1. Cast void* stream->priv to a bool without malloc or free.
2. malloc a bool and store the pointer in stream->priv, and we have to
write a close_s function, too.

Err?
--
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6




More information about the MPlayer-dev-eng mailing list