[FFmpeg-devel] [PATCH] Make http_state in ffserver.c a static array of arrays

Michael Niedermayer michaelni
Tue May 6 00:32:57 CEST 2008


On Wed, Apr 30, 2008 at 05:49:28PM +0200, Diego 'Flameeyes' Petten? wrote:
> 
> I'm not sure what to add to the subject...
> 

> Mark http_state static and transform it into an array of arrays.
[...]
> -const char *http_state[] = {
> +static const char http_state[][32] = {
>      "HTTP_WAIT_REQUEST",
>      "HTTP_SEND_HEADER",

Id prefer this without the rounding up to the next power of 2

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080506/5a18a398/attachment.pgp>



More information about the ffmpeg-devel mailing list