[FFmpeg-soc] http header dictionary

Michael Niedermayer michaelni at gmx.at
Sun Jun 6 01:58:30 CEST 2010


On Sat, Jun 05, 2010 at 10:46:56AM -0700, Josh Allmann wrote:
> On 5 June 2010 03:26, Michael Niedermayer <michaelni at gmx.at> wrote:
> > On Sat, Jun 05, 2010 at 01:44:56AM -0700, Josh Allmann wrote:
> >> Hi guys,
> >>
> >> So I caved and made HTTP headers settable by a dictionary. Let me know
> >> what you think.
> >
> > overkill for http headers (not saying its neccessarily useless for
> > other code ...), would belong to libavutil,
> > we have a avl tree in avutil alraedy if you need hundreads of headers.
> 
> D'oh... if I had known, I would not have done this :)
> 
> > and which headers do you want to override anyway?
> > if its just 1 or 2 where overriding makes sense there is a much
> > simpler solution, namely 1 or 2 int in a struct
> 
> I need to add some, replace some, and remove some. But not hundreds.

could you elaborate which exactly you need to add, remove and modify?
understanding this may help in coming up with a clean way to do it
(or maybe not of course ;)

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No human being will ever know the Truth, for even if they happen to say it
by chance, they would not even known they had done so. -- Xenophanes
-------------- 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-soc/attachments/20100606/904c47c8/attachment.pgp>


More information about the FFmpeg-soc mailing list